Upgrade to Pro — share decks privately, control downloads, hide ads and more …

New Views in Android L

New Views in Android L

A short talk about the new views in the L-preview for Android, that I gave at the Dutch Android User Group meetup (http://www.meetup.com/dutch-aug/events/191381302/) in Utrecht.

Wolfram Rittmeyer

July 25, 2014
Tweet

More Decks by Wolfram Rittmeyer

Other Decks in Technology

Transcript

  1. ItemDecorations • Defines how items are separated from each other

    • No default implementation • Called once per onDraw()
  2. Animations • Defines the animations for addition, removal or the

    moving of items • One predefined implementation: – DefaultItemAnimator
  3. Adapter • Defines what gets displayed and how one item

    is displayed • No default implementations • ViewHolder pattern
  4. What's not to Like • Everything is customizable • Too

    few default implementations • No OnItemSelectedListener • Inconsistencies between source and API • CardView