public interface BalloonViewAdapter<T extends MarkerBalloon,E extends MapPoint>
Modifier and Type | Method and Description |
---|---|
android.graphics.Point |
getBalloonOffset(E marker)
Gets the balloon offset from the marker.
|
android.view.View |
getBalloonView()
A view of the marker balloon.
|
<M extends T> |
onBindView(android.view.View view,
E marker,
M markerBalloon) |
<M extends T> |
onCreateView(android.view.ViewGroup container,
E marker,
M markerBalloon)
A callback which is called when inflating model.
|
<M extends T> android.view.View onCreateView(android.view.ViewGroup container, E marker, M markerBalloon)
container
- - A container where a marker or balloon item will be inflated.marker
- - A marker which has a balloon.markerBalloon
- - A view model of a marker balloon.<M extends T> void onBindView(android.view.View view, E marker, M markerBalloon)
view
- The root view of inflating a layout.marker
- The value which is used to fill a layout.markerBalloon
- The view model of the marker balloon.@Nonnull android.view.View getBalloonView()
@NonNull android.graphics.Point getBalloonOffset(E marker)