public static final class BrowseFragment.MainFragmentAdapterRegistry extends Object
Row
subclasses to BrowseFragment.FragmentFactory
.
BrowseRowFragment automatically registers BrowseFragment.ListRowFragmentFactory
for
handling ListRow
. Developers can override that and also if they want to
use custom fragment, they can register a custom BrowseFragment.FragmentFactory
against PageRow
.Constructor and Description |
---|
MainFragmentAdapterRegistry() |
Modifier and Type | Method and Description |
---|---|
Fragment |
createFragment(Object item) |
void |
registerFragment(Class rowClass,
BrowseFragment.FragmentFactory factory) |
public void registerFragment(Class rowClass, BrowseFragment.FragmentFactory factory)