~/talk

Recyclerview to the rescue

Talkat droidcon Berlin 2015 · 2015-06-15..06-17· [android]
links:none on file
slides:none on file

Live demo shows a sample app (code on GitHub) that replaces ListView/GridView with RecyclerView, builds grids where items span columns with GridLayoutManager.SpanSizeLookup, embeds a nested horizontal RecyclerView inside a column and swaps between list/grid and orientations at runtime using LinearLayoutManager and GridLayoutManager (staggered grid supported). Uses adapter view types and enforced ViewHolder pattern, and gets animations by calling notifyItemInserted/Removed so adds/removes animate smoothly rather than redrawing all items.

AI-written summary · about

  1. 0:00Start
  2. 0:23Recyclerview
  3. 2:31The Genymotion Emulator
  4. 2:45Demo
  5. 6:04Horizontal Scroll View
  6. 7:58Why Should You Use It
  7. 8:47The Recyclerview Knows How To Recycle Views
  8. 9:44Adapter
  9. 11:12Item View Type
  10. 14:20View Holder
  11. 20:52Modifying the List Contents
  12. 23:49Recyclerview Is the Future
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.