4fe538f2d65eefc57f618887ccb1226ec1a9741d |
|
28-Apr-2016 |
Keyvan Amiri <keyvana@google.com> |
Leanback media-list support: Added optional customizable actions AbstractMediaItemPresenter now supports arbitrary number of optional custom actions. Each media item row can consist of multiple, separately focusable views where each component is highlighted through an animated drawable. APIs are provided for capturing click events on media item details or actions, and dynamically altering the contents of the details or action views. Also changed the attribute names to "media items" to make them more generic for any media item list usage (e.g. music app, podcast, etc.). Bug: 28636413 Change-Id: I167fc15c3961dec4280a77c1356f1bf571525650
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/MultiActionsProvider.java
|