BrowseSupportFragment.MainFragmentAdapterProvider


interface BrowseSupportFragment.MainFragmentAdapterProvider

Known direct subclasses
RowsSupportFragment

An ordered set of rows of leanback widgets.


Interface to be implemented by all fragments for providing an instance of MainFragmentAdapter. Both RowsSupportFragment and custom fragment provided against PageRow will need to implement this interface.

Summary

Public functions

BrowseSupportFragment.MainFragmentAdapter!

Returns an instance of MainFragmentAdapter that BrowseSupportFragment would use to communicate with the target fragment.

Public functions

getMainFragmentAdapter

Added in 1.1.0
fun getMainFragmentAdapter(): BrowseSupportFragment.MainFragmentAdapter!

Returns an instance of MainFragmentAdapter that BrowseSupportFragment would use to communicate with the target fragment.