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' |