Register now for Android Dev Summit 2019!

MainFragmentAdapterProvider

interface MainFragmentAdapterProvider
androidx.leanback.app.BrowseSupportFragment.MainFragmentAdapterProvider

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 methods

abstract BrowseSupportFragment.MainFragmentAdapter<Fragment!>!

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

Public methods

getMainFragmentAdapter

abstract fun getMainFragmentAdapter(): BrowseSupportFragment.MainFragmentAdapter<Fragment!>!

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