kopia lustrzana https://github.com/ryukoposting/Signal-Android
Use notifyDataSetChanged for potentially structural modification.
This has the potential to change the structure of the result set displayed in the recycler view. Thus the functions that tell it the structure changed need to be called. For an immediate fix, changing this back to notifyDataSetChanged seems to resolve the crash.fork-5.53.8
rodzic
7611c64493
commit
ba394e1021
|
@ -107,7 +107,7 @@ class ConversationListSearchAdapter extends RecyclerView.Adapter<Conversation
|
|||
|
||||
void updateResults(@NonNull SearchResult result) {
|
||||
this.searchResult = result;
|
||||
notifyItemRangeChanged(0, getItemCount());
|
||||
notifyDataSetChanged();
|
||||
}
|
||||
|
||||
@Nullable
|
||||
|
|
Ładowanie…
Reference in New Issue