Open bidasknakayama opened 6 years ago
I guess that's because you're calling this in a PreferenceFragment
. You can try using the compat version: PreferenceFragmentCompat
and pass the result of [getChildFragmentManager()
](https://developer.android.com/reference/android/support/v4/app/Fragment.html#getChildFragmentManager()) instead.
in PreferenceFragment, When I click "preference", I want to open the color-picker. I tried....
but In PreferenceFragment, I could not find , resolve "d.show(getSupportFragmentManager(), "");" this line... Please help...
'public static class ColorPreferenceFragment extends ConfigFragment implements ColorPickerDialogFragment.ColorDialogResultListener {
'
'public class ConfigFragment extends PreferenceFragment { //private ListView lv; private static final String TAG = "ConfigFragment";
} '