欢迎参加我们将于 6 月 3 日举行的 #Android11:Beta 版发布会

FragmentFactory

abstract class FragmentFactory<T : Fragment!>
kotlin.Any
   ↳ androidx.leanback.app.BrowseSupportFragment.FragmentFactory

Factory class responsible for creating fragment given the current item. ListRow should return RowsSupportFragment or its subclass whereas PageRow can return any fragment class.

Summary

Public constructors

Factory class responsible for creating fragment given the current item.

Public methods

abstract T

Public constructors

<init>

FragmentFactory()

Factory class responsible for creating fragment given the current item. ListRow should return RowsSupportFragment or its subclass whereas PageRow can return any fragment class.

Public methods

createFragment

abstract fun createFragment(row: Any!): T