turing-tech / MaterialScrollBar

An Android library that brings the Material Design 5.1 sidebar to pre-5.1 devices.
Apache License 2.0
781 stars 126 forks source link

Add Support for StaggeredGridLayoutManager #89

Open ankitagrawal2411 opened 7 years ago

ankitagrawal2411 commented 7 years ago

please add support for StaggeredGridLayoutManager

hendrawd commented 7 years ago

If you could add support to other LayoutManager(custom LayoutManager that extends RecyclerView.LayoutManager) as well, it will be useful

turing-tech commented 7 years ago

The problem is that the library needs to be able to tell how far down an item is based on its position, and there isn't a good way to do that outside of linear and grid views. I'll look into implementing a custom interface that LayoutManagers could implement to provide that information.