abstract class BaseBalloonViewAdapter<T : MarkerBalloon!> : BalloonViewAdapter<T, Marker!>
Base adapter for markers balloons. Implementation of adapter design pattern.
BaseBalloonViewAdapter()
Base adapter for markers balloons. Implementation of adapter design pattern. |
open fun getBalloonOffset(marker: Marker!): Point
Specify the position of the balloon relatively to the marker (anchoring). By default it is above the marker icon. It can be overrided to change the default anchoring position. |
|
open fun getBalloonView(): View |
|
abstract fun <M : T> getLayout(marker: Marker!, balloon: M): Int
layout depends on marker or marker type or marker values or marker balloon values or marker balloon type. |
|
abstract fun <M : T> onBindView(view: View!, marker: Marker!, markerBalloon: M): Unit
Method bind ballon model to view. |
|
open fun <M : T> onCreateView(container: ViewGroup!, marker: Marker!, markerBalloon: M): View!
A callback which is called when inflating model. |
open class SingleLayoutBalloonViewAdapter : BaseBalloonViewAdapter<BaseMarkerBalloon!>
Adapter which inflate one single layout for all balloons. |