diff options
| author | gabrielemariotti <gabri.mariotti@gmail.com> | 2014-03-03 22:08:37 +0100 |
|---|---|---|
| committer | Lars Greiss <kufikugel@googlemail.com> | 2014-04-10 23:19:20 +0200 |
| commit | 1d10c38f17780c1ebce4ebc3ac0099a43152f24e (patch) | |
| tree | 922508c01df933bd0e9722e742b9b30f84aff82a | |
| parent | e378e5e98596a5cf211a86f6e1da6fe419b36e8c (diff) | |
Fixed call with a ViewToClickToExpand()
| -rw-r--r-- | src/com/android/cards/internal/CardCursorAdapter.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/com/android/cards/internal/CardCursorAdapter.java b/src/com/android/cards/internal/CardCursorAdapter.java index 6ec0ced..6859f09 100644 --- a/src/com/android/cards/internal/CardCursorAdapter.java +++ b/src/com/android/cards/internal/CardCursorAdapter.java @@ -143,7 +143,7 @@ public abstract class CardCursorAdapter extends BaseCardCursorAdapter { Log.d(TAG, "Swipe action not enabled in this type of view"); //If card has an expandable button override animation - if (mCard.getCardHeader() != null && mCard.getCardHeader().isButtonExpandVisible()) { + if ((mCard.getCardHeader() != null && mCard.getCardHeader().isButtonExpandVisible()) || mCard.getViewToClickToExpand()!=null ){ setupExpandCollapseListAnimation(mCardView); } |
