createFactory
fun createFactory(publication: Publication, initialLocator: Locator? = null, listener: ImageNavigatorFragment.Listener? = null): FragmentFactory
Factory for ImageNavigatorFragment.
Parameters
publication
Bitmap-based publication to render in the navigator.
initialLocator
The first location which should be visible when rendering the publication. Can be used to restore the last reading location.
listener
Optional listener to implement to observe events, such as user taps.