Codota Logo
PreferenceFragment.onSaveInstanceState
Code IndexAdd Codota 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)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
SimpleDateFormat s =
  • Codota IconString pattern;new SimpleDateFormat(pattern)
  • Codota IconString template;Locale locale;new SimpleDateFormat(template, locale)
  • Codota Iconnew SimpleDateFormat()
  • Smart code suggestions by Codota
}
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

  • Parsing JSON documents to java classes using gson
  • runOnUiThread (Activity)
  • addToBackStack (FragmentTransaction)
  • startActivity (Activity)
  • BufferedReader (java.io)
    Reads text from a character-input stream, buffering characters so as to provide for the efficient re
  • FileOutputStream (java.io)
    A file output stream is an output stream for writing data to aFile or to a FileDescriptor. Whether
  • Path (java.nio.file)
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • JTable (javax.swing)
  • Loader (org.hibernate.loader)
    Abstract superclass of object loading (and querying) strategies. This class implements useful common
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now