toggle menu
NavigationApp
androidJvm
switch theme
search in API
navigation-ux-fullscreen-search
/
com.mapbox.dash.fullscreen.search.favorites
/
FavoriteButtonsViewModel
Favorite
Buttons
View
Model
@
RestrictTo
(
value
=
[
RestrictTo.Scope.LIBRARY_GROUP_PREFIX
]
)
class
FavoriteButtonsViewModel
:
ViewModel
Members
Properties
buttons
State
Link copied to clipboard
val
buttonsState
:
StateFlow
<
SearchFavoritesState
>
Functions
add
Closeable
Link copied to clipboard
open
fun
addCloseable
(
@
NonNull
p0
:
Closeable
)
on
Add
Favorite
Clicked
Link copied to clipboard
fun
onAddFavoriteClicked
(
)
on
Home
Clicked
Link copied to clipboard
fun
onHomeClicked
(
)
on
Work
Clicked
Link copied to clipboard
fun
onWorkClicked
(
)