Last active
April 30, 2019 02:10
-
-
Save agustarc/fa3fa21a29922f76b1dcf35d6fe78a66 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class MyApplication : Application() { | |
override fun onCreate() { | |
super.onCreate() | |
Koap.serializer = GsonSerializer(Gson()) | |
Koap.bind(this, SettingPreference, AccountPreference) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment