Join us on the livestream at Android Dev Summit on 7-8 November 2018, starting at 10AM PDT!
added in version 1.0.0
belongs to Maven artifact androidx.leanback:leanback:1.0.0

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

added in version 1.0.0
public abstract MainFragmentAdapter getMainFragmentAdapter ()

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

Returns
MainFragmentAdapter