You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The guide didn't stress the importance of calling submitList() even in the first time mContacts is assigned.
I thought that submitList() would have to be trigger on subsequent modifications, because if it had been triggered, what would have it compare to? Turn out it does compare to null, and you have to submitList() that.
The text was updated successfully, but these errors were encountered:
In this
ListAdapter
guide, the adapter has to be roughly modified like this:The guide didn't stress the importance of calling
submitList()
even in the first timemContacts
is assigned.I thought that
submitList()
would have to be trigger on subsequent modifications, because if it had been triggered, what would have it compare to? Turn out it does compare tonull
, and you have tosubmitList()
that.The text was updated successfully, but these errors were encountered: