An open API service indexing awesome lists of open source software.

https://github.com/vaibhavmojidra/android-java---demo-retrofit

Retrofit is type-safe HTTP client for Android and Java by Square, Inc. It is an open source library which simplifies HTTP communication by turning remote APIs into declarative, type-safe interfaces. It makes it relatively easy to retrieve and upload JSON (or other structured data) via a REST based webservice.
https://github.com/vaibhavmojidra/android-java---demo-retrofit

android-kotlin android-library android-studio androidarchitecturecomponets livedata mojidra retrofit retrofit2 vaibhav vaibhav-mojidra vaibhavmojidra

Last synced: about 1 year ago
JSON representation

Retrofit is type-safe HTTP client for Android and Java by Square, Inc. It is an open source library which simplifies HTTP communication by turning remote APIs into declarative, type-safe interfaces. It makes it relatively easy to retrieve and upload JSON (or other structured data) via a REST based webservice.

Awesome Lists containing this project

README

          

# Android-Java---Retrofit-Demo

Step 1: Add all dependancies :

Step 2: Create a model/POJO Class for a single element of data list.(eg: TodoItem)

Step 3: Create a class returning list of data.(eg: Todos)

Step 4: Create Interface to declare methods for fetching and other operations like GET POST (Eg TodoService)

Step 5: Create a class to configure and get RetrofitInstance (eg: RetrofitInstance)

![S1](https://github.com/VaibhavMojidra/Android-Java---Retrofit-Demo/blob/master/screenshots/1.png)
![S2](https://github.com/VaibhavMojidra/Android-Java---Retrofit-Demo/blob/master/screenshots/2.png)
![S3](https://github.com/VaibhavMojidra/Android-Java---Retrofit-Demo/blob/master/screenshots/3.png)
![S4](https://github.com/VaibhavMojidra/Android-Java---Retrofit-Demo/blob/master/screenshots/4.png)
![S5](https://github.com/VaibhavMojidra/Android-Java---Retrofit-Demo/blob/master/screenshots/5.png)