The Android Developer Challenge is back! Submit your idea before December 2.

MainFragmentAdapterProvider

interface MainFragmentAdapterProvider
androidx.leanback.app.BrowseFragment.MainFragmentAdapterProvider

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

Summary

Public methods

abstract BrowseFragment.MainFragmentAdapter<Fragment!>!

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

Public methods

getMainFragmentAdapter

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

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