MapboxLaneGuidanceAdapter
class MapboxLaneGuidanceAdapter(context: Context) : RecyclerView.Adapter<MapboxLaneGuidanceAdapter.MapboxLaneGuidanceViewHolder>
Default recycler adapter to render lanes for the upcoming turn.
Types
Link copied to clipboard
inner class MapboxLaneGuidanceViewHolder(viewBinding: <Error class: unknown class>) : RecyclerView.ViewHolder
View Holder defined for the RecyclerView.Adapter
Functions
Link copied to clipboard
Invoke to add all the lanes 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: MapboxLaneGuidanceAdapter.MapboxLaneGuidanceViewHolder, p1: Int, @NonNull p2: MutableList<Any>)
open override fun onBindViewHolder(holder: MapboxLaneGuidanceAdapter.MapboxLaneGuidanceViewHolder, 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): MapboxLaneGuidanceAdapter.MapboxLaneGuidanceViewHolder
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
Invoke to remove all the lanes from the recycler view.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Invoke to change how the turn icons would look in the lane guidance view.