How to set HeaderItem on the left side using VerticalGridView like Android TV Home Screen

微笑、不失礼 提交于 2020-04-17 22:57:51

问题


I am very new to Leanback Libraries. I want to develop Android TV home screen, where the CustomHeaderItem will be on left side and for each HeaderItem there will be one ListRow and instead of BrowseFragment, i want to render whole things on VerticalGridView. Like below picture.

To achiveving this, i tried to keep an ImageView inside HorizontalGridView and passing null value inside HeaderItem cunstructor. And the above things i rendered inside VerticalGridView. But while doing so, am not able to focus on ImageView.

How i will achieve the above scenario or where i am going wrong ? And also, How to stop header transition inside BrowseFragment ?

Thanks in advance :)

来源:https://stackoverflow.com/questions/60963864/how-to-set-headeritem-on-the-left-side-using-verticalgridview-like-android-tv-ho

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!