SettingsTab

Plugin SettingsTab

Constructors

Link copied to clipboard
constructor(settings: Class<out AppFragment>)

Creates a SettingsTab with a dedicated page

constructor(settings: Class<*>, type: Plugin.SettingsTab.Type)

Creates a SettingsTab of the specified type

Types

Link copied to clipboard
interface SettingsPage
Link copied to clipboard

The type of this SettingsTab. PAGE is a dedicated page, BOTTOM_SHEET is a popup at the bottom of the screen.

Functions

Link copied to clipboard
fun withArgs(vararg args: Any?): Plugin.SettingsTab

Sets the constructor args that will be passed to this SettingsTab

Properties

Link copied to clipboard
var args: Array<out Any?>?

The arguments that will be passed to the constructor of the component

Link copied to clipboard
var bottomSheet: Class<out AppBottomSheet>?

The BottomSheet component

Link copied to clipboard
var page: Class<out AppFragment>?

The Page fragment

Link copied to clipboard

The Type of this SettingsTab