public class RadioMapComponent extends DropDownMapComponent
AbstractMapComponent.OnAllComponentsCreatedCallback
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TAG |
Constructor and Description |
---|
RadioMapComponent() |
Modifier and Type | Method and Description |
---|---|
static RadioMapComponent |
getInstance() |
void |
onCreate(android.content.Context context,
android.content.Intent intent,
MapView view)
Called when the component is first created
|
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.
|
void |
registerControl(android.view.View view)
Allows for external addition of control view for a radio.
|
void |
unregisterControl(android.view.View view)
Allows for external remove of control view for a radio.
|
onCreateOptionsMenu, onOptionsItemSelected, onOptionsMenuClosed, onPrepareOptionsMenu, registerDropDownReceiver
addOverlay, onConfigurationChanged, onDestroy, onPause, onResume, onStart, onStop, registerReceiver, removeOverlay, setOnAllComponentsCreatedCallback, unregisterReceiver
public static final java.lang.String TAG
public static RadioMapComponent getInstance()
public void onCreate(android.content.Context context, android.content.Intent intent, MapView view)
MapComponent
onCreate
in interface MapComponent
onCreate
in class DropDownMapComponent
context
- the context of the component (the MapActivity instance)intent
- the intent of the MapActivityview
- the main MapViewpublic void registerControl(android.view.View view)
view
- the control as an Android View.public void unregisterControl(android.view.View view)
view
- the registered control as an Android View.protected void onDestroyImpl(android.content.Context context, MapView view)
AbstractMapComponent
onDestroyImpl
in class DropDownMapComponent