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

Android TV

Effie Barak
March 20, 2016
260

Android TV

I gave this talk in DroidCon SF 2016

Effie Barak

March 20, 2016
Tweet

Transcript

  1. Libraries libraries - All support libraries versions need to be

    the same. - SQLCipher needs to be 3.3.1-1or higher. Android means all of our favorite libraries just work!
  2. Leanback main UI elements: Presenter - Leanback's version of a

    Recycler Adapter, has onBindViewHolder method and a ViewHolder. Not position-based. PresenterSelector - If there's more then one or more types of Presenters displayed in the same view ArrayObjectAdapter- A generic array that contains everything else.
  3. Interaction between the Fragment and the Activity Remote control actions

    PlaybackOverlayActivity PlaybackOverlayFragment Actions on controls Row VideoView Callbacks: