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