欢迎参加我们将于 6 月 3 日举行的 #Android11:Beta 版发布会

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