public interface MapComponent
| Modifier and Type | Method and Description | 
|---|---|
| void | onConfigurationChanged(android.content.res.Configuration newConfiguration)Implementation of onConfigurationChanged used to handle configuration changes for each
 mapComponent. | 
| void | onCreate(android.content.Context context,
        android.content.Intent intent,
        MapView view)Called when the component is first created | 
| boolean | onCreateOptionsMenu(android.content.Context context,
                   android.view.Menu menu)Is called on all Map Components when the onCreateOptionsMenu is called on the Map Activity. | 
| void | onDestroy(android.content.Context context,
         MapView view)Called when the component must be destroyed | 
| boolean | onOptionsItemSelected(android.content.Context context,
                     android.view.MenuItem item)Called on a onOptionsItemSelected is called and not found in regular activity. | 
| void | onOptionsMenuClosed(android.content.Context context,
                   android.view.Menu menu)Option menu has been closed in MapActivity. | 
| void | onPause(android.content.Context context,
       MapView view)Implementation for an abstract map component which corresponds to the onPause
 state transition. | 
| boolean | onPrepareOptionsMenu(android.content.Context context,
                    android.view.Menu menu)Called to Update the Options Menu on all MapComponents in the MapActivity. | 
| void | onResume(android.content.Context context,
        MapView view)Implementation for an abstract map component which corresponds to the onResume
 state transition. | 
| void | onStart(android.content.Context context,
       MapView view)Implementation for an abstract map component which corresponds to the onStart
 state transition. | 
| void | onStop(android.content.Context context,
      MapView view)Implementation for an abstract map component which corresponds to the onStop
 state transition. | 
void onCreate(android.content.Context context,
              android.content.Intent intent,
              MapView view)
context - the context of the component (the MapActivity instance)intent - the intent of the MapActivityview - the main MapViewvoid onDestroy(android.content.Context context,
               MapView view)
context - the context of the component (the MapActivity instance)view - the main MapViewvoid onStart(android.content.Context context,
             MapView view)
context - the context of the component (the MapActivity instance)view - the main MapViewvoid onStop(android.content.Context context,
            MapView view)
context - the context of the component (the MapActivity instance)view - the main MapViewvoid onPause(android.content.Context context,
             MapView view)
context - the context of the component (the MapActivity instance)view - the main MapViewvoid onResume(android.content.Context context,
              MapView view)
context - the context of the component (the MapActivity instance)view - the main MapViewvoid onConfigurationChanged(android.content.res.Configuration newConfiguration)
newConfiguration - called when the configuration changedActivity.onConfigurationChanged(Configuration)boolean onCreateOptionsMenu(android.content.Context context,
                            android.view.Menu menu)
context - the context of the component (the MapActivity instance)menu - The options menu in which you place your items.Activity.onCreateOptionsMenu(Menu)boolean onPrepareOptionsMenu(android.content.Context context,
                             android.view.Menu menu)
context - the context of the component (the MapActivity instance)menu - The options menu in which you place your items.boolean onOptionsItemSelected(android.content.Context context,
                              android.view.MenuItem item)
context - the context of the component (the MapActivity instance)item - The menu item that was selected.Activity.onOptionsItemSelected(MenuItem)void onOptionsMenuClosed(android.content.Context context,
                         android.view.Menu menu)
context - the context of the component (the MapActivity instance)menu - The options menu in which you place your items.Activity.onOptionsMenuClosed(Menu)