kopia lustrzana https://github.com/ryukoposting/Signal-Android
Fix selection getting stuck when exiting multiselect on conversation list.
rodzic
2836a6060d
commit
f5af964286
|
@ -231,6 +231,7 @@ class ConversationListAdapter extends ListAdapter<Conversation, RecyclerView.Vie
|
||||||
void initializeBatchMode(boolean toggle) {
|
void initializeBatchMode(boolean toggle) {
|
||||||
this.batchMode = toggle;
|
this.batchMode = toggle;
|
||||||
batchSet.clear();
|
batchSet.clear();
|
||||||
|
notifyItemRangeChanged(0, getItemCount(), Payload.SELECTION);
|
||||||
}
|
}
|
||||||
|
|
||||||
static final class ConversationViewHolder extends RecyclerView.ViewHolder {
|
static final class ConversationViewHolder extends RecyclerView.ViewHolder {
|
||||||
|
|
Ładowanie…
Reference in New Issue