toggle menu
NavigationApp
androidJvm
switch theme
search in API
navigation-ux-themes
/
com.mapbox.dash.theming
/
ThemeManager
Theme
Manager
object
ThemeManager
:
ThemeSource
Members
Types
Theme
Changed
Listener
Link copied to clipboard
interface
ThemeChangedListener
Properties
app
Theme
Loaded
Link copied to clipboard
val
appThemeLoaded
:
Flow
<
Boolean
>
theme
Link copied to clipboard
val
theme
:
Theme
Functions
add
Listener
Link copied to clipboard
open
override
fun
addListener
(
listener
:
ThemeManager.ThemeChangedListener
)
apply
Icon
Theme
Link copied to clipboard
fun
<
R
>
applyIconTheme
(
block
:
IconTheme
.
(
)
->
R
)
:
R
apply
Text
Color
Scheme
Link copied to clipboard
fun
<
T
>
applyTextColorScheme
(
block
:
TextColor
.
(
)
->
T
)
:
T
observe
Theme
Link copied to clipboard
fun
observeTheme
(
)
:
Flow
<
Theme
>
remove
Listener
Link copied to clipboard
open
override
fun
removeListener
(
listener
:
ThemeManager.ThemeChangedListener
)
set
Default
Theme
Link copied to clipboard
fun
setDefaultTheme
(
factory
:
DefaultThemeFactory
)
set
Theme
Link copied to clipboard
fun
setTheme
(
theme
:
Theme
?
)