Expandable RecyclerViews and You

29. Září 2016

Řečníci

O prezentaci

Since it's launch at Google IO '14, RecyclerView has become the de-facto tool for displaying collection views. Unlike it's predecessor, ListView, RecyclerView is decoupled from the classic AbsListview and delegates all the different components required to show and animate a collection to a variety of other APIs - such as the RecyclerView.Adapter and LayoutManager. While RecyclerView definitely offers a brighter more customizable future - it is also still in it's infancy. Which means we don't get a lot of the basic use cases out of the box like we had with ListView. In this session we will walk through step by step how to replace one of the lost ListView subclasses - ExpandableListView. We will create our own custom RecyclerView.Adapter, and RecyclerView.ViewHolders to achieve a list that expands and collapses it's sections. And as a fun bonus at the end we'll even take a quick look at how we can add single and multi select functionality to the sections in our ExpandableRecyclerView.

Organizátor

Kategorie

O organizátorovi (Droidcon NYC)

Community-driven | 100% Android | Development & Design | Organized by @touchlabny |

Uložení prezentace

Měla by být tato prezentace uložena po dobu 1000 let?

Jak ukládáme prezentace

Pro uložení prezentace do věčného trezoru hlasovalo 0 diváků, což je 0.0 %

Sdílení

Doporučená videa

Prezentace na podobné téma, kategorii nebo přednášejícího

Zajímají Vás podobná videa? Sledujte Droidcon NYC