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.
- Host: GitHub
- URL: https://github.com/vaibhavmojidra/android-java---demo-retrofit
- Owner: VaibhavMojidra
- Created: 2021-07-07T15:08:01.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-07-07T15:11:24.000Z (almost 5 years ago)
- Last Synced: 2025-04-12T06:48:04.604Z (about 1 year ago)
- Topics: android-kotlin, android-library, android-studio, androidarchitecturecomponets, livedata, mojidra, retrofit, retrofit2, vaibhav, vaibhav-mojidra, vaibhavmojidra
- Language: Java
- Homepage: https://vaibhavmojidra.github.io/site/
- Size: 580 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)




