expandable-recycler-view icon indicating copy to clipboard operation
expandable-recycler-view copied to clipboard

Is there a way to find the adapter position of the child using findViewHolderForAdapterPosition?

Open kshivaram opened this issue 8 years ago • 1 comments

Is there a way to find the adapter position of the child using findViewHolderForAdapterPosition?

kshivaram avatar Feb 11 '17 01:02 kshivaram

@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

paul-turner avatar Mar 31 '17 15:03 paul-turner