Small behavior improvement

This commit is contained in:
M66B 2019-04-11 16:54:00 +02:00
parent 5990a3aa24
commit 903a57c020
1 changed files with 5 additions and 0 deletions

View File

@ -3056,6 +3056,11 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
} }
} }
@Override
public void onViewRecycled(@NonNull ViewHolder holder) {
holder.clearExpanded();
}
void setSelectionTracker(SelectionTracker<Long> selectionTracker) { void setSelectionTracker(SelectionTracker<Long> selectionTracker) {
this.selectionTracker = selectionTracker; this.selectionTracker = selectionTracker;
} }