open-learning-exchange / myplanet

🌕 myPlanet android app reads data from 🌎 for offline use as well as it collect usage data and sends them back to the Planet.
23 stars 25 forks source link

notifyDataSetChange listener update #3717

Open Okuro3499 opened 4 days ago

Okuro3499 commented 4 days ago
It will always be more efficient to use more specific change events if you can. Rely on notifyDataSetChanged as a last resort. More... (⌘F1) 
Inspection info: The RecyclerView adapter's onNotifyDataSetChanged method does not specify what about the data set has changed, forcing any observers to assume that all existing items and structure may no longer be valid. `LayoutManager`s will be forced to fully rebind and relayout all visible views.