InfoPanelBinder

abstract class InfoPanelBinder : UIBinder

Base Binder class used for inflating and binding Info Panel layout. Use InfoPanelBinder.defaultBinder to access default implementation.

Constructors

Link copied to clipboard
fun InfoPanelBinder()

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open fun applySystemBarsInsets(layout: ViewGroup, insets: Insets)

Called when the Info Panel layout should apply system bar insets.

Link copied to clipboard
open override fun bind(viewGroup: ViewGroup): MapboxNavigationObserver

Triggered when this view binder instance is attached. The viewGroup returns a MapboxNavigationObserver which gives this view a simple lifecycle.

Link copied to clipboard
abstract fun getContentLayout(layout: ViewGroup): ViewGroup?

Get layout that can be passed to content UIBinder.

Link copied to clipboard
abstract fun getHeaderLayout(layout: ViewGroup): ViewGroup?

Get layout that can be passed to header UIBinder.

Link copied to clipboard
abstract fun onCreateLayout(layoutInflater: LayoutInflater, root: ViewGroup): ViewGroup

Create layout that will host both header and content layouts.