How to expand the space between the recyclerview element when scrolling, as shown below. I tried to add custom animation to the onBindViewHolder method, but this solution does not work the way I want. It looks like some animations are adding to the RecyclerView.OnScrollListener.onScrolled method. Any ideas? thanks.

source share