You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 8, 2022. It is now read-only.
I wanted to keep track of the expanded item position.
Using the default expansion listener didn't work.
So I had to write my own onClickListener which was not possible because you set it by default in the header class.
I had to create my custom header to remove the clickListener and add my own clicklistener in the recyclerview adapter.
Can you also please make it that when calling .expand() or .collapse() with false as the parameter to reset the indicator without animation too.
I also was looking for a way to set a custom click handler on the header. I ended up setting it in .doOnAttach because the default is set in onAttach and mine would be set after.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I wanted to keep track of the expanded item position.
Using the default expansion listener didn't work.
So I had to write my own onClickListener which was not possible because you set it by default in the header class.
I had to create my custom header to remove the clickListener and add my own clicklistener in the recyclerview adapter.
Can you also please make it that when calling .expand() or .collapse() with false as the parameter to reset the indicator without animation too.
The text was updated successfully, but these errors were encountered: