Google 致力于为黑人社区推动种族平等。查看具体举措

BrowseSupportFragment.MainFragmentAdapterProvider

public static interface BrowseSupportFragment.MainFragmentAdapterProvider

androidx.leanback.app.BrowseSupportFragment.MainFragmentAdapterProvider


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

Summary

Public methods

abstract MainFragmentAdapter getMainFragmentAdapter()

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

Public methods

getMainFragmentAdapter

public abstract MainFragmentAdapter getMainFragmentAdapter ()

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

Returns
MainFragmentAdapter