Skip to content
This repository has been archived by the owner on Oct 23, 2021. It is now read-only.

Error Crash When call multiselector.setselectable(false) after unselect all items in recycleview #24

Open
VuHongKy opened this issue Jul 13, 2016 · 2 comments

Comments

@VuHongKy
Copy link

I really want to do following feature:
When I select some items, after that, I click on each that item and unselect them. If I unselect last item, means recycleview has no item selected, I want to leave selectable mode, and I use multiselector.setSelectable(false), but app crash with exception:
JNI DETECTED ERROR IN APPLICATION: can't call void android.view.View.setTranslationZ(float) on null object

Please tell me why or how to do my feature? Many thanks, @jingibus

@royale1223
Copy link

Same issue here.

@royale1223
Copy link

Fix from #9 (comment) works.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants