Home » Android » android – How to expand space between RecyclerView Item while scrolling

android – How to expand space between RecyclerView Item while scrolling

Posted by: admin May 14, 2020 Leave a comment

Questions:

How to expand space between recyclerview item while scrolling as shown below. I tried to add a custom animation in onBindViewHolder method but this solution doesn’t work as I want. It looks like some animation add to RecyclerView.OnScrollListener.onScrolled method. Any idea? Thx.

Custom animation

How to&Answers: