Please log in to watch this conference skillscast.
This talk will cover how to madly customize (almost) everything in a RecyclerView. Today's apps aren't simple lists and grids. They have complex, hierarchical content and move, interact, and flow with the user and their device. The layout-dp folder is dead; long live the custom adapter! You'll learn how to make apps:
RESPONSIVE: Flow layouts dynamically from a single column on phone to grids and columns on tablets, even if you have multiple sections or view types.
DYNAMIC: Let your lists move! Let users expand and collapse content and insert asynchronously from the network, all with free predictive animations. We'll explore an approach and (soon-to-be-released) library from Genius which makes fine-grained updates in a RecyclerView easy.
SMOOTH: Setting layout backgrounds is so 2000 and late. We'll explore ItemDecorators from the simple to the complex -- decorating views with backgrounds, separators, and indents depending on their context (like sections with headers, groups with different "backgrounds", mixed rows and grids!)
INTERACTIVE: Allow any part of your content to be rearranged or swipe-to-delete.
All this, and avoid overdraw too! You'll learn on adapter, ItemDecorators, ItemTouchHelpers, ItemAnimators, SpanSizeLookups, and everything short of making your own LayoutManager.
YOU MAY ALSO LIKE:
- Greg Young's CQRS, Domain Events, Event Sourcing and how to apply DDD (in Stockholm on 22nd - 24th May 2017)
- Fast Track to RESTful Microservices (in London on 24th - 26th May 2017)
- Alberto Brandolini's DDD Modelling Workshop (in London on 26th - 28th June 2017)
- µCon 2017: The Microservices Conference (in London on 6th - 7th November 2017)
Lisa Wray is the Android developer at Genius, the world's largest repository of musical knowledge. Previously, she was a developer advocate for Android and wearables at Google, and a mobile developer at the New York Times. She is an Android GDE and has a B.S. in Computer Science and Music from M.I.T.