Last active
July 26, 2023 03:43
-
-
Save Khant-NyarxG-Next/85783e39c5af45020dcb6bcf84de1e8d to your computer and use it in GitHub Desktop.
kotlin dependencies,plugins
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
#you can use xml id directly with | |
apply plugin: 'kotlin-android-extensions' | |
#use like this | |
#import kotlinx.android.synthetic.main.activity_main.* | |
#retrofit to fetch api and json class to delecare as dataModel | |
implementation 'com.squareup.retrofit2:retrofit:2.9.0' | |
implementation 'com.squareup.retrofit2:converter-jackson:2.9.0' | |
implementation 'com.squareup.retrofit2:converter-gson:2.5.0' | |
implementation 'com.squareup.okhttp3:logging-interceptor:3.8.0' | |
implementation 'com.google.code.gson:gson:2.8.8' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment