gregkorossy/Android-Support-Preference-V7-Fix

Expand/Contract PreferenceCategory

Opened this issue · 3 comments

I've written a small helper for my implementation of your PreferenceFragmentCompat.

It adds a click listener to the PreferenceCategory title and toggles visibility of the contained preferences which by default are hidden. The user must tap the desired category to see the settings.

The helper also facilitates programmatic selection of a single category OR single preference.

Comments please!

I cannot find your addition.

That's because I'm currently testing it on a clone. Happy to create a fork with the new class and updated sample app if in principle you like the idea!

I'll take that as a yes :-)

Please see pull request #206