You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem can be demonstrated using the sample app. Just uncomment the setDividerPreferences() call in MyPreferenceFragment.onCreateView() and set the dividers to DIVIDER_NONE.
When the app is started, dividers are correctly hidden. Then press "PreferenceSrceen test" and return from the subscreen. The dividers are not hidden anymore.
I test this on a Nexus 7/2013, Android 6.0.1
Apparently, when the fragment is restored, the check "divPrefFlags == flags && !divPrefInvalid" in setDividerPreferences() is true and thus, the divider preferences are not applied.
The text was updated successfully, but these errors were encountered:
The problem can be demonstrated using the sample app. Just uncomment the setDividerPreferences() call in MyPreferenceFragment.onCreateView() and set the dividers to DIVIDER_NONE.
When the app is started, dividers are correctly hidden. Then press "PreferenceSrceen test" and return from the subscreen. The dividers are not hidden anymore.
I test this on a Nexus 7/2013, Android 6.0.1
Apparently, when the fragment is restored, the check "divPrefFlags == flags && !divPrefInvalid" in setDividerPreferences() is true and thus, the divider preferences are not applied.
The text was updated successfully, but these errors were encountered: