public abstract class AbstractWidgetMapComponent extends AbstractMapComponent
AbstractMapComponent.OnAllComponentsCreatedCallback
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ROOT_LAYOUT_EXTRA |
TAG
Constructor and Description |
---|
AbstractWidgetMapComponent() |
Modifier and Type | Method and Description |
---|---|
LayoutWidget |
getRootLayoutWidget() |
void |
onCreate(android.content.Context context,
android.content.Intent intent,
MapView view)
Called when the component is first created
|
protected abstract void |
onCreateWidgets(android.content.Context context,
android.content.Intent intent,
MapView view) |
protected void |
onDestroyImpl(android.content.Context context,
MapView view)
This method is invoked as a subset of the onDestroy call as part of the
MapComponent lifecycle.
|
protected abstract void |
onDestroyWidgets(android.content.Context context,
MapView view) |
addOverlay, onConfigurationChanged, onCreateOptionsMenu, onDestroy, onOptionsItemSelected, onOptionsMenuClosed, onPause, onPrepareOptionsMenu, onResume, onStart, onStop, registerReceiver, removeOverlay, setOnAllComponentsCreatedCallback, unregisterReceiver
public static final java.lang.String ROOT_LAYOUT_EXTRA
public void onCreate(android.content.Context context, android.content.Intent intent, MapView view)
MapComponent
context
- the context of the component (the MapActivity instance)intent
- the intent of the MapActivityview
- the main MapViewprotected void onDestroyImpl(android.content.Context context, MapView view)
AbstractMapComponent
onDestroyImpl
in class AbstractMapComponent
protected abstract void onCreateWidgets(android.content.Context context, android.content.Intent intent, MapView view)
protected abstract void onDestroyWidgets(android.content.Context context, MapView view)
public LayoutWidget getRootLayoutWidget()