MapboxUpcomingManeuverAdapter
class MapboxUpcomingManeuverAdapter(context: Context) : RecyclerView.Adapter<MapboxUpcomingManeuverAdapter.MapboxUpcomingManeuverViewHolder>
Default recycler adapter to render upcoming maneuvers for the RouteLeg.
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
Invoke to add all upcoming maneuvers to the recycler view.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Returns the total number of items in the data set held by the adapter.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun onBindViewHolder(@NonNull p0: MapboxUpcomingManeuverAdapter.MapboxUpcomingManeuverViewHolder, p1: Int, @NonNull p2: MutableList<Any>)
open override fun onBindViewHolder(holder: MapboxUpcomingManeuverAdapter.MapboxUpcomingManeuverViewHolder, position: Int)
Invoked by RecyclerView to display the data at the specified position.
Link copied to clipboard
open override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): MapboxUpcomingManeuverAdapter.MapboxUpcomingManeuverViewHolder
Binds the given View to the position.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
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.