@ UiThread public int getParentAdapterPosition ( ) { int flatPosition = getAdapterPosition ( ) ; if ( flatPosition == RecyclerView . NO_POSITION ) { return flatPosition ; } return mExpandableAdapter . getNearestParentPosition ( flatPosition ) ; }
Returns the adapter position of the Parent associated with this ParentViewHolder