UiHelpers
class UiHelpers @JvmOverloads constructor(val activity: () -> Activity?, val externalFragmentOpener: (Fragment) -> Unit? = null)
Helpers to allow Books to open activities and fragments.
Constructors
Properties
Link copied to clipboard
Required, but may return null if the Activity is no longer valid. You can pass the activity through requireValidActivity to only provide valid activities.
Link copied to clipboard
Only required if you need to open Books Fragments outside of Books itself, e.g. via BookLibraryController.openBooksView.