当expandlistview的getGroupView或者getChildView中包含checkbox时,前者点击不可用。
解决办法 在etGroupView或者getChildView的checkbox中添加
android:clickable="true"
android:focusable="false"
android:focusableInTouchMode="false"
问题就解决了。
当expandlistview的getGroupView或者getChildView中包含checkbox时,前者点击不可用。
解决办法 在etGroupView或者getChildView的checkbox中添加
android:clickable="true"
android:focusable="false"
android:focusableInTouchMode="false"
问题就解决了。