0

How to store android preference in clean way. I often end up store user preferences in an Singleton class which wrap SharedPreferences but it make painful to maintain when preferences is added.

2
  • what is your definition of "clean way" ?
    – pskink
    Dec 16, 2014 at 10:35
  • Like clean code. It easy to add new preference, easy to use, easy to maintain. Dec 17, 2014 at 0:22

1 Answer 1

1

I end up with develope this tiny framework for store preference in android. https://github.com/CaoManhDat/android-clean-preferences

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.