Android-L #gist4: a SimpleSectionedRecyclerView
It is a SimpleSectionedRecyclerViewAdapter.
It is the porting of the SimpleSectionedListAdapter[1] provided by Google with the #io code.
It can be used to realize a simple sectioned list without changing your adapter.
It works with a RecyclerView with a LinearLayoutManager and also work with the TwoWayView with the ListLayoutManager.
Here the code:
ps: the RecyclerView pattern is new... then this code can be improved (I am sure).
[1]: Google Io14
It is the porting of the SimpleSectionedListAdapter[1] provided by Google with the #io code.
It can be used to realize a simple sectioned list without changing your adapter.
It works with a RecyclerView with a LinearLayoutManager and also work with the TwoWayView with the ListLayoutManager.
Here the code:

ps: the RecyclerView pattern is new... then this code can be improved (I am sure).
[1]: Google Io14
Luin tämän viestin täysin koskien uusimman ja edellisen teknologian yhdennäköisyyttä, se on hämmästyttävä artikkeli.
ReplyDelete
ReplyDelete"Every post of yours has such a unique angle. I love how you consistently offer something new!"
ReplyDelete"You’ve established yourself as a true expert in your field. I’m learning so much from you!"
ReplyDelete"I always leave your posts feeling enlightened. Thank you for consistently bringing value to your readers!"
ReplyDelete"Your ability to provide high-quality, actionable advice is why I keep coming back to your blog."
ReplyDelete"There’s always something new to learn here. Keep the incredible content coming!"
ReplyDelete"I’m always impressed with the quality of your posts. You never fail to deliver!"
ReplyDelete"Your blog feels like a safe space for learning and growth. I’m so happy to be here!"