BearWare / TeamTalk5

TeamTalk 5 Development
www.bearware.dk
Other
307 stars 160 forks source link

Prevent TextMessageAdapter from modifying during list view update #2230

Closed bear101 closed 2 months ago

bear101 commented 2 months ago

This should fix #2229:

java.lang.IllegalStateException: The content of the adapter has changed but ListView did not receive a notification. Make sure the content of your adapter is not modified from a background thread, but only from the UI thread. Make sure your adapter calls notifyDataSetChanged() when its content changes. [in ListView(2131230864, class android.widget.ListView) with Adapter(class dk.bearware.data.TextMessageAdapter)]