question: @ SuppressWarnings ( "WeakerAccess" ) public final void clearSelections ( ) { if ( selectedPositions . isEmpty ( ) ) return ; int oneItemPos = selectedPositions . size ( ) == 1 ? ( int ) selectedPositions . toArray ( ) [ 0 ] : - 1 ; selectedPositions . clear ( ) ; lastSelectedPos = - 1 ; if ( oneItemPos != - 1 ) notifyItemChanged ( oneItemPos ) ; else notifyDataSetChanged ( ) ; }
target:  Clears any selections that may exist.