-1

I have been looking for a long time for a Android RecyclerView onLoad animation but until now I have not found anything really helpful.

What I want is to have an animation when the RecyclerView loads and displays the cells animated. But I want to have that animation just when the RecyclerView loads and not when the cells are loaded by the ViewHolder. Because when the cells are loaded by the ViewHolder the RecyclerView animates the cells while scrolling and so on... So I don't want no animation while scrolling anymore.

And some guys will know that the effect I would like to implement is a standard animation effect the TableView of iOS supports. I have found a tutorial where is exactly done what I would like to do. The last example is what I mean.

So all solutions I have found were similar to that one

Has anyone an idea? Or is the way I would like to animate the cells "not Android standard like"?

kind regards

Community
  • 1
  • 1
jublikon
  • 3,427
  • 10
  • 44
  • 82

1 Answers1

2

Well one way to do this is to make sure that you are animating the entire recyclerview when your activity / fragment is ready and displayed on screen. So instead of animating each individual item in the recyclerview, you set an animation on the recyclerview as a whole to "fly" in for example, by animating the TranslateY element of the recyclerview.

Simon
  • 19,658
  • 27
  • 149
  • 217