As you know in leanback library there is a ListRowPresenter
which presents its items via HorizontalGridView
. (see its source here) But can we have a Presenter using VerticalGrid
?
I want the last row of my BrowseFragment
becomes vertically scrollable (with how many rows as it need and fixed column number!) and instead of setNumRows
I would write setNumVolumns
...
Is it possible in leanback?
UPDATE 1 :
In order to use a presenter in BrowseFragmen
t, it should be a child of RowPresenter
. VerticalGridPresenter
is not so you can not use it in a browse fragment at all. I am looking for a something like ListRowPresenter
which is built using VerticalGridView
. (ListRowPresenter
uses HorizontalGridView
)