toggle menu
NavigationApp
androidJvm
switch theme
search in API
navigation-ux-destination-preview
/
com.mapbox.dash.destination.preview.places
/
PlacesPreviewFocusNavigationHelper
Places
Preview
Focus
Navigation
Helper
@
RestrictTo
(
value
=
[
RestrictTo.Scope.LIBRARY_GROUP_PREFIX
]
)
class
PlacesPreviewFocusNavigationHelper
Members
Constructors
Places
Preview
Focus
Navigation
Helper
Link copied to clipboard
constructor
(
)
Properties
action
Link copied to clipboard
val
action
:
Flow
<
FocusedElement
>
focused
Element
Link copied to clipboard
val
focusedElement
:
StateFlow
<
FocusedElement
?
>
has
Focus
Link copied to clipboard
var
hasFocus
:
Boolean
is
Destination
Displayed
Link copied to clipboard
var
isDestinationDisplayed
:
Boolean
selected
Item
Link copied to clipboard
var
selectedItem
:
Int
Functions
on
Focused
Link copied to clipboard
fun
onFocused
(
)
on
Focus
Lost
Link copied to clipboard
fun
onFocusLost
(
)
on
Rotary
Knob
Pressed
Link copied to clipboard
fun
onRotaryKnobPressed
(
)
on
Rotate
Backward
Link copied to clipboard
fun
onRotateBackward
(
)
on
Rotate
Forward
Link copied to clipboard
fun
onRotateForward
(
)
update
Data
Link copied to clipboard
fun
updateData
(
resultSize
:
Int
,
selectedItemIndex
:
Int
=
0
)