Phasing out legacy recommendations on Android TV
Posted by Bejamin Baxter, Developer Programs Engineer
At Google I/O 2017, we href="https://android-developers.googleblog.com/2017/05/welcome-to-your-new-home-on-android-tv.html">announced
a redesign of the Android TV's home screen. We expanded the recommendation row
concept so that each app can have its own row (or multiple rows) of content on
the home screen. Since the release of the new home screen, we have seen
increased adoption of the new recommendation channels for Android Oreo in a wide
variety of apps.
With more and more apps surfacing high-quality recommendations using the new
channels, the href="https://developer.android.com/training/tv/discovery/recommendations-row.html">legacy
recommendation row in the new home screen on Android O will be phased out
over the next year.
Currently, when an app creates recommendations with the href="https://developer.android.com/training/tv/discovery/recommendations-row.html#build">legacy
notification based API the content is added to a channel for that app. The
channel may already exist if there was recommended content for it when you
upgraded from Android N (or below). If the there is no channel for the app, it
will be automatically generated for you. In either case, the user can't add or
remove programs from the channel, but they can move, hide, and show the channel.
When an app starts to use the new API to add its own channels, the system
removes the auto-generated channel and the app takes over control of the display
of their content.
Over the next year, we will phase out the automatic generation of channels.
Instead of generating multiple channels, one for each app's legacy
recommendations, we will insert one channel for all legacy
recommendations. This channel will appear at the bottom of the channel list.
Users can move or remove it. When a user upgrades to Android O, the previous
recommendation row from Android N (and below) becomes a channel at the bottom of
the home screen.
If you have not updated your app to post content to the new channels on the home
screen, take a look at our href="https://developer.android.com/training/tv/discovery/recommendations-channel.html">documentation,
href="https://codelabs.developers.google.com/codelabs/tv-channels-programs/index.html">codelab,
and href="https://github.com/googlesamples/leanback-homescreen-channels">sample
to get started.
We look forward to more and more apps taking advantage of the new changes in the
home screen. We love to hear your feedback, so please visit the href="https://plus.google.com/communities/112881895888889393129">Android TV
Developer Community on G+ to share your thoughts and ideas.
Komentar
Posting Komentar