cioccarellia / ksprefs

Kotlin SharedPreferences wrapper & cryptographic android library.
https://cioccarellia.github.io/ksprefs/
Apache License 2.0
228 stars 22 forks source link

Added generic get method and marked other gets as deprecated, updated library versions, targeting android 28 #1

Closed JonasSchubert closed 6 years ago

JonasSchubert commented 6 years ago

Hi, I really like your library. I saw the possibility to use a single generic get method instead of several get methods for the different types. I also updated the libraries and the targeting Android. Maybe you want to use this. If not also fine ;) Thanks for this awesome lib and have a nice day. Kind regards Jonas

cioccarellia commented 6 years ago

Super nice pull request! I'll probably let the other functions and assign them a more particular property, but the get() one is very clean and is the one that everybody should use