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

Adding getObject that retrives data using Gson's TypeToken #36

Open
Megamiun opened this issue Sep 22, 2017 · 0 comments
Open

Adding getObject that retrives data using Gson's TypeToken #36

Megamiun opened this issue Sep 22, 2017 · 0 comments

Comments

@Megamiun
Copy link

Hello,

I really loved your library, it helped me testing some features in my prototype.

But, using maps in Kotlin, I had some difficulties trying to get the map automatically filled. After some time trying to make things work, I remembered that Gson has a TypeToken interface that solved cases like that.

Originally I did this as an issue on mukeshsolanki/easypreferences#4, but I thought it would be correct to share this change with your project too as it served as a basis for him, so I will make a PR for it.

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

Successfully merging a pull request may close this issue.

1 participant