#InternetofThings #AI https://goo.gl/gZ6zTE #Technology #IoT #ML
Retrofit Library in Android
Retrofit is a REST API Client for Java.
It is developed by Square Inc. and uses OkHttp library for HTTP Request. It is a simple library that is used for network transaction.
It is a very easy and fast library to retrieve and upload the data via Rest based web service.
Adding Dependency in Build.gradle
dependencies { implementation ‘com.squareup.retrofit2:retrofit:2.1.0’ implementation ‘com.google.code.gson:gson:2.6.2’ implementation ‘com.squareup.retrofit2:converter-gson:2.1.0’ }
Adding Internet Permission in Manifest
Retrofit mainly need three things which are following- https://goo.gl/BFfziy #DataIntegration #ML

