Android #gist: A SectionedGridRecyclerViewAdapter

It is a SectionedGridRecyclerViewAdapter.
It is the porting of the SimpleSectionedListAdapter[1] provided by Google with the #io code.

It can be used to realize a simple sectioned grid without changing your adapter.

It works with a RecyclerView with a GridLayoutManager.

Here the code:

[1]: Google Io14


Popular posts from this blog

NotificationListenerService and kitkat

Expand and collapse animation

NotificationListenerService and a Whatsapp extension for Dashclock