Radical RecyclerView

by · Sep 29, 2016 · 153 views ·

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! - Flow layouts dynamically from a single column on phone to grids and columns on tablets. Mix multiple sections and view types. - Let your lists move! Let users expand and collapse content and insert asynchronously from the network, all with predictive animations. Diff new content and dispatch fine-grained, animated updates in place. - Decorate views with backgrounds, separators, and indents (like sections with headers, groups with different "backgrounds", mixed rows and grids!) - Allow any part of your content to be rearranged or swipe-to-delete. We'll talk about custom adapters, ItemDecorators, ItemTouchHelpers, ItemAnimators, SpanSizeLookups, and everything short of making your own LayoutManager.

Watch SlidesLive on mobile devices

© SlidesLive Inc.