Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Android TV Talk
Search
Effie Barak
December 03, 2015
Technology
1
430
Android TV Talk
Effie Barak
December 03, 2015
Tweet
Share
More Decks by Effie Barak
See All by Effie Barak
Working with AOSP- Droidcon NY 2022
codingchick
0
310
A talk about Talks- AndroidMarkerFR
codingchick
0
280
Inside The Room- DCBln21 revised edition
codingchick
0
360
A talk about Talks - the extended version
codingchick
0
220
A talk about Talks
codingchick
0
110
Inside the room- DC SF edition
codingchick
0
240
Inside the room
codingchick
2
350
Images 101 - NYC
codingchick
0
280
Images 101
codingchick
1
390
Other Decks in Technology
See All in Technology
AR Guitar: Expanding Guitar Performance from a Live House to Urban Space
ekito_station
0
270
Next.js 16の新機能 Cache Components について
sutetotanuki
0
200
Snowflake Industry Days 2025 Nowcast
takumimukaiyama
0
150
Snowflake導入から1年、LayerXのデータ活用の現在 / One Year into Snowflake: How LayerX Uses Data Today
civitaspo
0
2.6k
『君の名は』と聞く君の名は。 / Your name, you who asks for mine.
nttcom
1
130
Everything As Code
yosuke_ai
0
410
re:Invent2025 セッションレポ ~Spec-driven development with Kiro~
nrinetcom
PRO
2
160
AIBuildersDay_track_A_iidaxs
iidaxs
4
1.6k
Bedrock AgentCore Evaluationsで学ぶLLM as a judge入門
shichijoyuhi
2
300
Redshift認可、アップデートでどう変わった?
handy
1
110
まだ間に合う! Agentic AI on AWSの現在地をやさしく一挙おさらい
minorun365
19
3.3k
Building Serverless AI Memory with Mastra × AWS
vvatanabe
1
810
Featured
See All Featured
Ethics towards AI in product and experience design
skipperchong
1
150
Digital Ethics as a Driver of Design Innovation
axbom
PRO
0
130
We Are The Robots
honzajavorek
0
130
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
210
How to build a perfect <img>
jonoalderson
0
4.8k
BBQ
matthewcrist
89
9.9k
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
0
80
Making Projects Easy
brettharned
120
6.5k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
210
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
98
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
0
170
Building Flexible Design Systems
yeseniaperezcruz
330
39k
Transcript
ANDROID TV APPLICATION Effie Barak (@CodingChick)
None
None
Support libraries required Either Glide or Picasso can work, there
are implementation differences
Which version of the support libraries to use? The latest
one that works - All support libraries versions need to be the same. - SQLCipher needs to be 3.3.1-1or higher. Which didn’t work so well for me :(
Application Manifest Changes
Theme to play with
Tons of auto generated code!
Main page birdview
Main page birdview scrolling
Main Fragment that extends BrowseFragment: ArrayObjectAdapter ListRowPresenter ImageCardView
Hooking up Udemy’s model
Click events should use Course model
CourseCardPresenter extends Presenter (Is just your everyday adapter)
ImageCardView is provided by leanback • CARD_TYPE_INFO_OVER (1) • CARD_TYPE_INFO_UNDER
(2) • CARD_TYPE_INFO_UNDER_WITH_EXTRA (3) • CARD_TYPE_MAIN_ONLY (0)
Course Details birdview
Course Details scrolled down
CourseDetailsFragment DetailsOverviewRowPresenter ClassPresenterSelector ListRowPresenter ImageCardView
DetailsOverviewRowPresenter is deprecated New class- FullWidthDetailsOverviewRowPresenter with different UI :(
LecturePresenter is similar to CoursePresenter
Details row gets its own Presenter
Creating the course details row
Creating the lectures row
Hooking it all up to the ClassPresenterSelector
Clicking on a lecture starts the Playback activity
Playback Activity
Playback Activity
Playback Activity
PlaybackOverlayFragment extends leanback’s PlaybackOverlayFragment ClassPresenterSelector DetailsOverviewRowPresenter ListRowPresenter
Instantiating the base structure
Adding all the ACTIONS Etc etc etc…
Hooking up the actions listeners
Video! Warp 9! Engage!
The VideoView plays things
Implementation of MediaSession
And the callbacks class
playPause method
The controls in the PlaybackControlsRow need to know.
The actions click events can invoke the MediaController’s methods
Voice search
Voice search
Searchinggg
In the Search Fragment
The actual search
Loading the results
Handling clicking on a result
Starting the whole thing up
Useful resources: https://github.com/googlesamples/androidtv-Leanback Default auto- generated template https://developer.android.com/training/tv/index.html (Sorta, kinda,
maybe)