I am just starting building my video player for the Fire TV and I am having difficulty finding where to start modifying the UIWidgetsSample code. I don't know where to start. I am overwhelmed by the 50 different java files. Does anyone know where I can edit the app to add/edit/remove new tiles?
Hi, com.sample.amazon.uiwidgetssample.SampleAppActivity is the starting point to look at. It set's MainFragment int it's view. Now MainFragment loads list items like "Carousel Example", "Paging Carousel Example" etc with the help of SampleAdapter. Now you need follow the flow and find out the specific example implementation. e.g for Details Page Example -> SampleDetailsActivity/DetailsExtraFragment/DetailsOverviewFragment along with classes of com.sample.amazon.asbuilibrary.details package.
We need more examples of how to build video players. In the Roku SDK, they provide several different ones, from very simple to very complex. I was able to take their simple video player example and make a nice looking channel very quickly. The complicated UIWidgetsSample is overwhelming.