public class ChannelsMapComponent extends AbstractMapComponent implements android.content.SharedPreferences.OnSharedPreferenceChangeListener
AbstractMapComponent.OnAllComponentsCreatedCallback| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PREFERENCE_ENABLE_CHANNELS_HOST_KEY |
static java.lang.String |
PREFERENCE_ENABLE_CHANNELS_UI_KEY |
| Constructor and Description |
|---|
ChannelsMapComponent() |
| Modifier and Type | Method and Description |
|---|---|
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 |
onSharedPreferenceChanged(android.content.SharedPreferences prefs,
java.lang.String key) |
addOverlay, onConfigurationChanged, onCreateOptionsMenu, onDestroy, onOptionsItemSelected, onOptionsMenuClosed, onPause, onPrepareOptionsMenu, onResume, onStart, onStop, registerReceiver, removeOverlay, setOnAllComponentsCreatedCallback, unregisterReceiverpublic static final java.lang.String PREFERENCE_ENABLE_CHANNELS_UI_KEY
public static final java.lang.String PREFERENCE_ENABLE_CHANNELS_HOST_KEY
public void onCreate(android.content.Context context,
android.content.Intent intent,
MapView view)
MapComponentonCreate in interface MapComponentcontext - 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)
AbstractMapComponentonDestroyImpl in class AbstractMapComponentpublic void onSharedPreferenceChanged(android.content.SharedPreferences prefs,
java.lang.String key)
onSharedPreferenceChanged in interface android.content.SharedPreferences.OnSharedPreferenceChangeListener