Mapbox Lane Guidance Adapter
class MapboxLaneGuidanceAdapter(context: Context) : RecyclerView.Adapter<MapboxLaneGuidanceAdapter.MapboxLaneGuidanceViewHolder>
Content copied to clipboard
Default recycler adapter to render lanes for the upcoming turn.
Constructors
MapboxLaneGuidanceAdapter
Link copied to clipboard
Types
MapboxLaneGuidanceViewHolder
Link copied to clipboard
inner class MapboxLaneGuidanceViewHolder(viewBinding: <ERROR CLASS>) : RecyclerView.ViewHolder
Content copied to clipboard
View Holder defined for the RecyclerView.Adapter
Functions
addLanes
Link copied to clipboard
bindViewHolder
Link copied to clipboard
fun bindViewHolder(@NonNull() p0: MapboxLaneGuidanceAdapter.MapboxLaneGuidanceViewHolder, p1: Int)
Content copied to clipboard
createViewHolder
Link copied to clipboard
@NonNull()
Content copied to clipboard
getItemCount
Link copied to clipboard
getItemViewType
Link copied to clipboard
hasObservers
Link copied to clipboard
hasStableIds
Link copied to clipboard
notifyDataSetChanged
Link copied to clipboard
fun notifyDataSetChanged()
Content copied to clipboard
notifyItemChanged
Link copied to clipboard
notifyItemInserted
Link copied to clipboard
notifyItemMoved
Link copied to clipboard
notifyItemRangeChanged
Link copied to clipboard
notifyItemRangeInserted
Link copied to clipboard
notifyItemRangeRemoved
Link copied to clipboard
notifyItemRemoved
Link copied to clipboard
onAttachedToRecyclerView
Link copied to clipboard
onBindViewHolder
Link copied to clipboard
open override fun onBindViewHolder(holder: MapboxLaneGuidanceAdapter.MapboxLaneGuidanceViewHolder, position: Int)
Content copied to clipboard
open fun onBindViewHolder(@NonNull() p0: MapboxLaneGuidanceAdapter.MapboxLaneGuidanceViewHolder, p1: Int, @NonNull() p2: MutableList<Any>)
Content copied to clipboard
onCreateViewHolder
Link copied to clipboard
open override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): MapboxLaneGuidanceAdapter.MapboxLaneGuidanceViewHolder
Content copied to clipboard
onDetachedFromRecyclerView
Link copied to clipboard
onFailedToRecycleView
Link copied to clipboard
open fun onFailedToRecycleView(@NonNull() p0: MapboxLaneGuidanceAdapter.MapboxLaneGuidanceViewHolder): Boolean
Content copied to clipboard
onViewAttachedToWindow
Link copied to clipboard
open fun onViewAttachedToWindow(@NonNull() p0: MapboxLaneGuidanceAdapter.MapboxLaneGuidanceViewHolder)
Content copied to clipboard
onViewDetachedFromWindow
Link copied to clipboard
open fun onViewDetachedFromWindow(@NonNull() p0: MapboxLaneGuidanceAdapter.MapboxLaneGuidanceViewHolder)
Content copied to clipboard
onViewRecycled
Link copied to clipboard
open fun onViewRecycled(@NonNull() p0: MapboxLaneGuidanceAdapter.MapboxLaneGuidanceViewHolder)
Content copied to clipboard
registerAdapterDataObserver
Link copied to clipboard
open fun registerAdapterDataObserver(@NonNull() p0: RecyclerView.AdapterDataObserver)
Content copied to clipboard
removeLanes
Link copied to clipboard
setHasStableIds
Link copied to clipboard
unregisterAdapterDataObserver
Link copied to clipboard
open fun unregisterAdapterDataObserver(@NonNull() p0: RecyclerView.AdapterDataObserver)
Content copied to clipboard
updateStyle
Link copied to clipboard