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 animations only work when we call the notify methods with the adapter after data is initialized and added to the RecyclerView.
However, it won't work if you already have the data list initialized before you create the RecyclerView. In many cases when you already have the data, you populate the RecyclerView immediately after its creation. In this case we don't call any of the notify methods. Hence, the animations does not work. How do we make the animation work this way?
The text was updated successfully, but these errors were encountered:
The animations only work when we call the notify methods with the adapter after data is initialized and added to the RecyclerView.
However, it won't work if you already have the data list initialized before you create the RecyclerView. In many cases when you already have the data, you populate the RecyclerView immediately after its creation. In this case we don't call any of the notify methods. Hence, the animations does not work. How do we make the animation work this way?
The text was updated successfully, but these errors were encountered: