MapboxUpcomingManeuverAdapter

Default recycler adapter to render upcoming maneuvers for the RouteLeg.

Constructors

Link copied to clipboard
constructor(context: Context)

Types

Link copied to clipboard
inner class MapboxUpcomingManeuverViewHolder(val viewBinding: <Error class: unknown class>) : RecyclerView.ViewHolder

View Holder defined for the RecyclerView.Adapter

Functions

Link copied to clipboard
fun addUpcomingManeuvers(upcomingManeuvers: List<Maneuver>)

Invoke to add all upcoming maneuvers to the recycler view.

Link copied to clipboard
open override fun getItemCount(): Int

Returns the total number of items in the data set held by the adapter.

Link copied to clipboard
open fun getItemId(p0: Int): Long
Link copied to clipboard
open fun getItemViewType(p0: Int): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun notifyItemMoved(p0: Int, p1: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Invoked by RecyclerView to display the data at the specified position.

Link copied to clipboard

Binds the given View to the position.

Link copied to clipboard
open fun setHasStableIds(p0: Boolean)
Link copied to clipboard

Allows you to apply styling defined by passed maneuverViewOptions.

Link copied to clipboard

Given a set of RouteShield, the function maintains a set of RouteShield that is used to render the shield on the view

Link copied to clipboard

Allows you to change the styling of MapboxTurnIconManeuver.