Tabnine Logo
PreferenceFragment.onSaveInstanceState
Code IndexAdd Tabnine to your IDE (free)

How to use
onSaveInstanceState
method
in
android.preference.PreferenceFragment

Best Java code snippets using android.preference.PreferenceFragment.onSaveInstanceState (Showing top 3 results out of 315)

origin: rkkr/simple-keyboard

@Override
public void onSaveInstanceState(final Bundle outState) {
  super.onSaveInstanceState(outState);
  if (mIsAddingNewSubtype) {
    outState.putBoolean(KEY_IS_ADDING_NEW_SUBTYPE, true);
  }
  if (mSubtypeEnablerNotificationDialog != null
      && mSubtypeEnablerNotificationDialog.isShowing()) {
    outState.putBoolean(KEY_IS_SUBTYPE_ENABLER_NOTIFICATION_DIALOG_OPEN, true);
    outState.putString(
        KEY_SUBTYPE_FOR_SUBTYPE_ENABLER, mSubtypePreferenceKeyForSubtypeEnabler);
  }
}
origin: owntracks/android

@Override
@CallSuper
public void onSaveInstanceState(Bundle outState) {
  super.onSaveInstanceState(outState);
  if(viewModel != null) { viewModel.saveInstanceState(outState); }
}
origin: michael-rapp/AndroidBottomSheet

@Override
public final void onSaveInstanceState(final Bundle outState) {
  super.onSaveInstanceState(outState);
  outState.putBundle(BOTTOM_SHEET_STATE_EXTRA, bottomSheet.onSaveInstanceState());
  outState.putBundle(CUSTOM_BOTTOM_SHEET_STATE_EXTRA,
      customBottomSheet.onSaveInstanceState());
  outState.putBundle(INTENT_BOTTOM_SHEET_STATE_EXTRA,
      intentBottomSheet.onSaveInstanceState());
}
android.preferencePreferenceFragmentonSaveInstanceState

Popular methods of PreferenceFragment

  • onCreate
  • onResume
  • onPause
  • onDestroy
  • onOptionsItemSelected
  • onActivityCreated
  • onStart
  • onAttach
  • onPreferenceTreeClick
  • onCreateView
  • onStop
  • onActivityResult
  • onStop,
  • onActivityResult,
  • onViewCreated,
  • onDestroyView,
  • onDetach,
  • getActivity,
  • addPreferencesFromResource,
  • getPreferenceScreen,
  • onCreateOptionsMenu

Popular in Java

  • Finding current android device location
  • getExternalFilesDir (Context)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • Permission (java.security)
    Legacy security code; do not use.
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
  • StringUtils (org.apache.commons.lang)
    Operations on java.lang.String that arenull safe. * IsEmpty/IsBlank - checks if a String contains
  • Top Sublime Text plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now