Java 类android.support.v7.preference.PreferenceDialogFragmentCompat 实例源码

项目:Android-Support-Preference-V7-Fix    文件:RingtonePreferenceDialogFragmentCompat.java   
public static RingtonePreferenceDialogFragmentCompat newInstance(String key) {
    RingtonePreferenceDialogFragmentCompat fragment = new RingtonePreferenceDialogFragmentCompat();
    Bundle b = new Bundle(1);
    b.putString(PreferenceDialogFragmentCompat.ARG_KEY, key);
    fragment.setArguments(b);
    return fragment;
}
项目:StreetComplete    文件:NumberPickerPreference.java   
@Override public PreferenceDialogFragmentCompat createDialog()
{
    return new NumberPickerPreferenceDialog();
}
项目:StreetComplete    文件:DialogPreferenceCompat.java   
public abstract PreferenceDialogFragmentCompat createDialog();