Closed guru2010j closed 6 years ago
Hello Sherlock.jiang,
This article is really nice, When I tried this for my app in debugg build it is working fine, But in release build its not expanding. I am using in recycle view. Please review code as below.
Please help on this what i am doing wrong.
Thanks in advance, Guru.
<android.support.v7.widget.CardView android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_margin="@dimen/dimen_five_dp" card_view:cardBackgroundColor="@color/white_color" card_view:cardCornerRadius="@dimen/dimen_four_dp" card_view:cardElevation="@dimen/dimen_two_dp"> <com.kyo.expandablelayout.ExpandableLayout android:id="@+id/expandablelayout" android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical"> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical" android:paddingBottom="@dimen/dimen_ten_dp" android:paddingTop="@dimen/dimen_ten_dp"></LinearLayout> <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical" app:canExpand="true"> </LinearLayout> </com.kyo.expandablelayout.ExpandableLayout> </android.support.v7.widget.CardView>
I add this line -keep class com.kyo.expandablelayout.* {;} into my proguard file and it works like a charm now.
Thank you so much.
Hello Sherlock.jiang,
This article is really nice, When I tried this for my app in debugg build it is working fine, But in release build its not expanding. I am using in recycle view. Please review code as below.
Please help on this what i am doing wrong.
Thanks in advance, Guru.