第二个 Android 11 开发者预览版现已推出,快来测试并分享您的反馈吧

MainFragmentRowsAdapterProvider

interface MainFragmentRowsAdapterProvider
androidx.leanback.app.BrowseFragment.MainFragmentRowsAdapterProvider

Interface to be implemented by RowsFragment and its subclasses for providing an instance of MainFragmentRowsAdapter.

Summary

Public methods

abstract BrowseFragment.MainFragmentRowsAdapter<Fragment!>!

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

Public methods

getMainFragmentRowsAdapter

abstract fun getMainFragmentRowsAdapter(): BrowseFragment.MainFragmentRowsAdapter<Fragment!>!

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