Demonstarting GET and POST function along with various android libraries using Swipe Api
-
Kotlin - First class and official programming language for Android development.
-
Coroutines - For asynchronous and more..
-
Android Architecture Components - Collection of libraries that help you design robust, testable, and maintainable apps.
- LiveData - Data objects that notify views when the underlying database changes.
- ViewModel - Stores UI-related data that isn't destroyed on UI changes.
- ViewBinding - Generates a binding class for each XML layout file present in that module and allows you to more easily write code that interacts with views.
-
- Hilt-Dagger - Standard library to incorporate Dagger dependency injection into an Android application.
- Hilt-ViewModel - DI for injecting
ViewModel
.
-
Retrofit2 - A type-safe HTTP client for Android and Java.
-
OkHttp3 - Its request/response API is designed with fluent builders and immutability.
-
Material Components for Android - Modular and customizable Material Design UI components for Android.
-
Gradle Kotlin DSL - For writing Gradle build scripts using Kotlin.
- Make sure you have Android Studio and JDK 11+ installed.
- Make sure you have all default necessary plugins for android studio installed.
- Clone the project using git clone command into your local machine.
- Open Android Studio and open the project you have just cloned.
- Alternatively, you can use the Import from VCS option in Android Studio to clone the project.
- Wait for the gradle build to finish. This might take 5-10 mins depending on your system.
- Run the app on your local device or emulator to test it.