public class DeviceIndependentTestActivity extends androidx.appcompat.app.AppCompatActivity implements OnMapReadyCallback
| Modifier and Type | Field and Description |
|---|---|
protected MapboxMap |
mapboxMap |
MapView |
mapView |
| Constructor and Description |
|---|
DeviceIndependentTestActivity() |
| Modifier and Type | Method and Description |
|---|---|
MapboxMap |
getMapboxMap() |
protected void |
onCreate(Bundle savedInstanceState) |
protected void |
onDestroy() |
void |
onLowMemory() |
void |
onMapReady(MapboxMap map)
Called when the map is ready to be used.
|
void |
onPause() |
void |
onResume() |
protected void |
onSaveInstanceState(Bundle outState) |
protected void |
onStart() |
protected void |
onStop() |
addContentView, closeOptionsMenu, dispatchKeyEvent, findViewById, getDelegate, getDrawerToggleDelegate, getMenuInflater, getResources, getSupportActionBar, getSupportParentActivityIntent, invalidateOptionsMenu, onConfigurationChanged, onContentChanged, onCreateSupportNavigateUpTaskStack, onKeyDown, onMenuItemSelected, onMenuOpened, onPanelClosed, onPostCreate, onPostResume, onPrepareSupportNavigateUpTaskStack, onSupportActionModeFinished, onSupportActionModeStarted, onSupportContentChanged, onSupportNavigateUp, onTitleChanged, onWindowStartingSupportActionMode, openOptionsMenu, setContentView, setContentView, setContentView, setSupportActionBar, setSupportProgress, setSupportProgressBarIndeterminate, setSupportProgressBarIndeterminateVisibility, setSupportProgressBarVisibility, setTheme, startSupportActionMode, supportInvalidateOptionsMenu, supportNavigateUpTo, supportRequestWindowFeature, supportShouldUpRecreateTaskdump, getLastCustomNonConfigurationInstance, getLifecycle, getSupportFragmentManager, getSupportLoaderManager, getViewModelStore, onActivityResult, onAttachFragment, onBackPressed, onCreatePanelMenu, onCreateView, onCreateView, onMultiWindowModeChanged, onNewIntent, onPictureInPictureModeChanged, onPrepareOptionsPanel, onPreparePanel, onRequestPermissionsResult, onResumeFragments, onRetainCustomNonConfigurationInstance, onRetainNonConfigurationInstance, onStateNotSaved, setEnterSharedElementCallback, setExitSharedElementCallback, startActivityForResult, startActivityForResult, startActivityFromFragment, startActivityFromFragment, startIntentSenderForResult, startIntentSenderForResult, startIntentSenderFromFragment, supportFinishAfterTransition, supportPostponeEnterTransition, supportStartPostponedEnterTransition, validateRequestPermissionsRequestCodeprotected void onCreate(Bundle savedInstanceState)
onCreate in class androidx.appcompat.app.AppCompatActivitypublic void onMapReady(@NonNull
MapboxMap map)
OnMapReadyCallbackonMapReady in interface OnMapReadyCallbackmap - An instance of MapboxMap associated with the MapFragment or
MapView that defines the callback.public MapboxMap getMapboxMap()
public void onResume()
onResume in class androidx.fragment.app.FragmentActivityprotected void onStart()
onStart in class androidx.appcompat.app.AppCompatActivitypublic void onPause()
onPause in class androidx.fragment.app.FragmentActivityprotected void onStop()
onStop in class androidx.appcompat.app.AppCompatActivityprotected void onSaveInstanceState(Bundle outState)
onSaveInstanceState in class androidx.appcompat.app.AppCompatActivityprotected void onDestroy()
onDestroy in class androidx.appcompat.app.AppCompatActivitypublic void onLowMemory()
onLowMemory in class androidx.fragment.app.FragmentActivity