Package-level declarations

Functions

Link copied to clipboard
fun DrawerBuilder.toolkitFooter(onShowUpdates: () -> Unit?)

The entries every Toolkit app ends its drawer with, in this order: Settings, Help and feedback, Updates and Share. They go in the drawer's footer, so they stay at the bottom edge after anything the app lists, whatever order it lists it in.

Link copied to clipboard
fun toolkitGraph(@StringRes appTitle: Int, appIcon: ToolkitIcon? = null, defaults: NavigationDefaults = NavigationDefaults(), builder: ShellGraphBuilder.() -> Unit): ShellGraph

Builds a ShellGraph with the Toolkit's own pages already in it: the settings list and its pages, about, licenses, help, support, permissions, ads settings, developer options and the first-launch start screens.

Link copied to clipboard

Registers the Toolkit's pages the app has not registered itself, each through its own feature's registration function. toolkitGraph calls it; an app that builds its graph with ShellGraphBuilder directly calls it after its own destinations.