New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Force expand/colapse #11

jkwiecien opened this Issue Mar 5, 2015 · 2 comments


None yet
2 participants

jkwiecien commented Mar 5, 2015

I wish I could expand/collapse group programatically without allowing user to do that. Is that possible in current implementation?

I think it would be possible if you make ExpandableRecyclerViewWrapperAdapter public :)


This comment has been minimized.


h6ah4i commented Mar 5, 2015

Hi @jkwiecien,

Yes, that is possible to implement in current implementation. Please use these methods;

  • RecyclerViewExpandableItemManager.expandGroup(int groupPosition)
  • RecyclerViewExpandableItemManager.collapseGroup(int groupPosition)

FYI: If you don't want to expand/collapse a group when touching the item, please implement the onCheckCanExpandOrCollapseGroup() method always returns false.

@h6ah4i h6ah4i self-assigned this Mar 5, 2015


This comment has been minimized.

jkwiecien commented Mar 6, 2015

Thanks! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment