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

Enable to add adapter to Moshi #32

Open
mateuy-dev opened this issue Jan 12, 2024 · 0 comments
Open

Enable to add adapter to Moshi #32

mateuy-dev opened this issue Jan 12, 2024 · 0 comments

Comments

@mateuy-dev
Copy link

The library uses an global Moshi instance that can't me modified.

object MoshiUtils { val moshi: Moshi by lazy { Moshi.Builder() .build() } }

A fast dirty solution would be just changeing it to var so that we could modify it and add adapters.

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

1 participant