public class PolylineActivity
extends androidx.appcompat.app.AppCompatActivity
Shows how to add and remove polylines.
Constructor and Description |
---|
PolylineActivity() |
Modifier and Type | Method and Description |
---|---|
java.util.List<PolylineOptions> |
getRandomLine() |
protected void |
onCreate(Bundle savedInstanceState) |
boolean |
onCreateOptionsMenu(Menu menu) |
protected void |
onDestroy() |
void |
onLowMemory() |
boolean |
onOptionsItemSelected(MenuItem item) |
protected void |
onPause() |
protected 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, supportShouldUpRecreateTask
dump, 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, validateRequestPermissionsRequestCode
protected void onCreate(Bundle savedInstanceState)
onCreate
in class androidx.appcompat.app.AppCompatActivity
public java.util.List<PolylineOptions> getRandomLine()
protected void onStart()
onStart
in class androidx.appcompat.app.AppCompatActivity
protected void onResume()
onResume
in class androidx.fragment.app.FragmentActivity
protected void onPause()
onPause
in class androidx.fragment.app.FragmentActivity
protected void onStop()
onStop
in class androidx.appcompat.app.AppCompatActivity
protected void onSaveInstanceState(Bundle outState)
onSaveInstanceState
in class androidx.appcompat.app.AppCompatActivity
protected void onDestroy()
onDestroy
in class androidx.appcompat.app.AppCompatActivity
public void onLowMemory()
onLowMemory
in class androidx.fragment.app.FragmentActivity
public boolean onCreateOptionsMenu(Menu menu)
public boolean onOptionsItemSelected(MenuItem item)