toggle menu
NavigationApp
androidJvm
switch theme
search in API
navigation-ux-themes
/
com.mapbox.dash.theming
/
ThemeManager
Theme
Manager
object
ThemeManager
Members
Types
Theme
Changed
Listener
Link copied to clipboard
fun
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
fun
addListener
(
listener
:
ThemeManager.ThemeChangedListener
)
apply
Icon
Theme
Link copied to clipboard
fun
<
R
>
applyIconTheme
(
block
:
IconTheme
.
(
)
->
R
)
:
R
get
Theme
Link copied to clipboard
fun
getTheme
(
context
:
Context
)
:
Theme
observe
Theme
Link copied to clipboard
fun
observeTheme
(
)
:
StateFlow
<
Theme
>
remove
Listener
Link copied to clipboard
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
)