Questions tagged [leanback]

The Leanback Support Library provides APIs, resources, and widgets for building Android TV apps.

The Leanback Support Library provides , , and for building apps. For questions related to developing interactive television apps in general please use the tag.

Useful Links:

412 questions
0
votes
0 answers

Android Lollipop compatibility test suite (CTS) for Leanback API

I've been searching high and low for the CTS tests for the Leanback API. I haven't been able to find much but I might have found a lead here: https://android.googlesource.com/platform/cts/+/fcd4f02 This talks about a meta-data tag called…
treebear
  • 325
  • 1
  • 4
  • 8
-1
votes
1 answer

Duplicated cards in verticalGridView

I have a strange problem here. Context: I'm building an Android TV application which makes use of Android's Leanback Library. When the user navigates to a show, it has a vertical grid view which lists all the episodes of the show. The list is…
CubeInTheBox
  • 56
  • 1
  • 6
-1
votes
1 answer

Customize BrowseFragment to show text and image preview above Row list

As we are new to the Android TV development and we are willing to design the screen as shown in the screenshot below. After some sort of research on the Leanback library, came to know that we are supposed to use the BrowseFragment to achieve the…
-1
votes
1 answer

Beginner leanback tutorials showing how to display and update browsefragment data

I am trying to learn about developing android TV apps and looking at sample code on github and on some tutorial links. I have grasped some basics around android TV development. My problem is non of the tutorials properly explain how the browse…
user5898266
  • 355
  • 2
  • 6
  • 20
-1
votes
1 answer

NullPointerException on onFocusSearch in BrowseFragment?

I'm working in an Android TV app with a MainFragment that extends BrowseFragment and sometimes it crashes in the method onFocusSearch(View focused, int direction) defined for mOnFocusSearchListener in the BrowseFragment: private final…
-1
votes
1 answer

how to play a youtube streaming video in android TV with leanback

I have yet to find a way to play an youtube streaming video in Android Tv using leanback library. Any suggestions or pointers are greatly appreciated. I noticed that it will play mp4 files but not live streams. here is code that…
ironmantis7x
  • 807
  • 2
  • 23
  • 58
-2
votes
3 answers

Android TV: How to notify Card Presenter items change

So, I'm making a screen with Leanback's Browse Fragment and CardPresenter. Inside my fragment that extends BrowseFragment, I have a method for drawing the UI: private void loadCardRows() { mRowsAdapter = new CustomArrayObjectAdapter(new…
joe
  • 1,341
  • 4
  • 21
  • 32
1 2 3
27
28