이제 두 번째 Android 11 개발자 프리뷰를 사용할 수 있습니다. 테스트해 보고 의견을 공유하세요.

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