Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expand/Contract PreferenceCategory #205

Open
MPArnold opened this issue Jan 13, 2020 · 3 comments
Open

Expand/Contract PreferenceCategory #205

MPArnold opened this issue Jan 13, 2020 · 3 comments

Comments

@MPArnold
Copy link

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!

@gregkorossy
Copy link
Owner

I cannot find your addition.

@MPArnold
Copy link
Author

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!

@MPArnold
Copy link
Author

I'll take that as a yes :-)

Please see pull request #206

@MPArnold MPArnold reopened this Jan 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants