preference/src/main/java/androidx/preference/PreferenceGroupAdapter.java
private PreferenceLayout createPreferenceLayout(Preference preference, PreferenceLayout in) {
        PreferenceLayout pl = in != null ? in : new PreferenceLayout();
        pl.mName = preference.getClass().getName();
        pl.mResId = preference.getLayoutResource();
        pl.mWidgetResId = preference.getWidgetLayoutResource();
        return pl;
    }
/**
     * Creates a string that includes the preference name, layout id and widget layout id.
     * If a particular preference type uses 2 different resources, they will be treated as
     * different view types.
     */
Creates a string that includes the preference name, layout id and widget layout id.
If a particular preference type uses 2 different resources, they will be treated as
different view types.
Creates a string that includes the preference name layout id and widget layout id . If a particular preference type uses 2 different resources they will be treated as different view types .
private PreferenceLayout createPreferenceLayout(Preference preference, PreferenceLayout in) {
        PreferenceLayout pl = in != null ? in : new PreferenceLayout();
        pl.mName = preference.getClass().getName();
        pl.mResId = preference.getLayoutResource();
        pl.mWidgetResId = preference.getWidgetLayoutResource();
        return pl;
    }
private PreferenceLayout createPreferenceLayout ( Preference preference , PreferenceLayout in ) { PreferenceLayout pl = in != null ? in : new PreferenceLayout ( ) ; pl . mName = preference . getClass ( ) . getName ( ) ; pl . mResId = preference . getLayoutResource ( ) ; pl . mWidgetResId = preference . getWidgetLayoutResource ( ) ; return pl ; }
Creates a string that includes the preference name, layout id and widget layout id.
Creates a string that includes the preference name layout id and widget layout id .