expandable-recycler-view
expandable-recycler-view copied to clipboard
Is there a way to find the adapter position of the child using findViewHolderForAdapterPosition?
Is there a way to find the adapter position of the child using findViewHolderForAdapterPosition?
@KScoder83 Could you expand on the question a little bit more?
If you have the viewholder, you should be able to cast it to a parent viewholder or child viewholder and then call getParentAdapterPosition
or getChildAdapterPosition
or for the flat position getAdapterPosition