What I'm trying to achieve is to create a RecyclerView which scrolls horizontally, and the items should appear in different sizes similar to the drawing started from 0 position and so on. What i have tried so far is:
- played with position of items on adapter onBindViewHolder, but that's not a solution and it doesn't solve my problem.
- implemented StaggeredGridLayoutManager as layout manager
StaggeredGridLayoutManager staggeredGridLayoutManager = new StaggeredGridLayoutManager(3, StaggeredGridLayoutManager.HORIZONTAL);
, but the spanCount blocks me. - GridLayoutManager scrolls vertically, not horizontal
Is there any lib or guidelines on how to design a specific RecyclerView Layout Manager ? Any help would be appreciated, thanks!
Google lib can help you to achieve Staggered horizontal Recyclerview