androidx.preference.PreferenceDialogFragmentCompat Java Examples

The following examples show how to use androidx.preference.PreferenceDialogFragmentCompat. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: ColorPickerPreferenceDialogFragmentCompat.java    From mollyim-android with GNU General Public License v3.0 5 votes vote down vote up
public static ColorPickerPreferenceDialogFragmentCompat newInstance(String key) {
  ColorPickerPreferenceDialogFragmentCompat fragment = new ColorPickerPreferenceDialogFragmentCompat();
  Bundle b = new Bundle(1);
  b.putString(PreferenceDialogFragmentCompat.ARG_KEY, key);
  fragment.setArguments(b);
  return fragment;
}
 
Example #2
Source File: CustomDefaultPreference.java    From mollyim-android with GNU General Public License v3.0 5 votes vote down vote up
public static CustomDefaultPreferenceDialogFragmentCompat newInstance(String key) {
  CustomDefaultPreferenceDialogFragmentCompat fragment = new CustomDefaultPreferenceDialogFragmentCompat();
  Bundle b = new Bundle(1);
  b.putString(PreferenceDialogFragmentCompat.ARG_KEY, key);
  fragment.setArguments(b);
  return fragment;
}
 
Example #3
Source File: CustomDefaultPreference.java    From deltachat-android with GNU General Public License v3.0 5 votes vote down vote up
public static CustomDefaultPreferenceDialogFragmentCompat newInstance(String key) {
  CustomDefaultPreferenceDialogFragmentCompat fragment = new CustomDefaultPreferenceDialogFragmentCompat();
  Bundle b = new Bundle(1);
  b.putString(PreferenceDialogFragmentCompat.ARG_KEY, key);
  fragment.setArguments(b);
  return fragment;
}