MainFragmentAdapterRegistry
class MainFragmentAdapterRegistry
Registry class maintaining the mapping of Row
subclasses to FragmentFactory
. BrowseRowFragment automatically registers ListRowFragmentFactory
for handling ListRow
. Developers can override that and also if they want to use custom fragment, they can register a custom FragmentFactory
against PageRow
.
Summary
Public constructors
<init>
MainFragmentAdapterRegistry()
Public methods
createFragment
fun createFragment(item: Any!): Fragment!
Content and code samples on this page are subject to the licenses described in the Content License. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-07-22 UTC.