Mapbox Upcoming Maneuver Adapter
class MapboxUpcomingManeuverAdapter(context: Context) : RecyclerView.Adapter<MapboxUpcomingManeuverAdapter.MapboxUpcomingManeuverViewHolder>
Content copied to clipboard
Default recycler adapter to render upcoming maneuvers for the RouteLeg.
Constructors
MapboxUpcomingManeuverAdapter
Link copied to clipboard
Types
MapboxUpcomingManeuverViewHolder
Link copied to clipboard
inner class MapboxUpcomingManeuverViewHolder(viewBinding: <ERROR CLASS>) : RecyclerView.ViewHolder
Content copied to clipboard
View Holder defined for the RecyclerView.Adapter
Functions
addUpcomingManeuvers
Link copied to clipboard
bindViewHolder
Link copied to clipboard
fun bindViewHolder(@NonNull() p0: MapboxUpcomingManeuverAdapter.MapboxUpcomingManeuverViewHolder, 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: MapboxUpcomingManeuverAdapter.MapboxUpcomingManeuverViewHolder, position: Int)
Content copied to clipboard
open fun onBindViewHolder(@NonNull() p0: MapboxUpcomingManeuverAdapter.MapboxUpcomingManeuverViewHolder, p1: Int, @NonNull() p2: MutableList<Any>)
Content copied to clipboard
onCreateViewHolder
Link copied to clipboard
open override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): MapboxUpcomingManeuverAdapter.MapboxUpcomingManeuverViewHolder
Content copied to clipboard
onDetachedFromRecyclerView
Link copied to clipboard
onFailedToRecycleView
Link copied to clipboard
open fun onFailedToRecycleView(@NonNull() p0: MapboxUpcomingManeuverAdapter.MapboxUpcomingManeuverViewHolder): Boolean
Content copied to clipboard
onViewAttachedToWindow
Link copied to clipboard
open fun onViewAttachedToWindow(@NonNull() p0: MapboxUpcomingManeuverAdapter.MapboxUpcomingManeuverViewHolder)
Content copied to clipboard
onViewDetachedFromWindow
Link copied to clipboard
open fun onViewDetachedFromWindow(@NonNull() p0: MapboxUpcomingManeuverAdapter.MapboxUpcomingManeuverViewHolder)
Content copied to clipboard
onViewRecycled
Link copied to clipboard
open fun onViewRecycled(@NonNull() p0: MapboxUpcomingManeuverAdapter.MapboxUpcomingManeuverViewHolder)
Content copied to clipboard
registerAdapterDataObserver
Link copied to clipboard
open fun registerAdapterDataObserver(@NonNull() p0: RecyclerView.AdapterDataObserver)
Content copied to clipboard
setHasStableIds
Link copied to clipboard
unregisterAdapterDataObserver
Link copied to clipboard
open fun unregisterAdapterDataObserver(@NonNull() p0: RecyclerView.AdapterDataObserver)
Content copied to clipboard
updateRoadShields
Link copied to clipboard
Given a Map of id to RoadShield, the function maintains a map of id to RoadShield that is used to render the shield on the view
updateShields
Link copied to clipboard
Given a set of RoadShield, the function maintains a set of RoadShield that is used to render the shield on the view
updateUpcomingManeuverStepDistanceTextAppearance
Link copied to clipboard
fun updateUpcomingManeuverStepDistanceTextAppearance(@StyleRes() style: Int)
Content copied to clipboard
updateUpcomingPrimaryManeuverTextAppearance
Link copied to clipboard
updateUpcomingSecondaryManeuverTextAppearance
Link copied to clipboard
fun updateUpcomingSecondaryManeuverTextAppearance(@StyleRes() style: Int)
Content copied to clipboard