ui / com.mapbox.search.ui.view.place / SearchPlaceBottomSheetView / addOnCloseClickListener

addOnCloseClickListener

fun addOnCloseClickListener(listener: OnCloseClickListener): Unit

Adds a listener to be notified of close button click.

Parameters

listener - The listener to notify when close button clicked.

inline fun addOnCloseClickListener(crossinline listener: () -> Unit): Unit

Experimental function, can be changed or removed in the next SDK releases. Adds a listener to be notified of close button click.

Parameters

listener - The listener to notify when close button clicked.