/SwipeProducts

Demonstarting GET and POST function along with various android libraries using Swipe Api

Primary LanguageKotlin

SwipeProducts

Demonstarting GET and POST function along with various android libraries using Swipe Api

Built With 🛠

  • 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.
  • Dependency Injection -

    • 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.

🖼 App Screenshots :

Steps to run the code:

  1. Make sure you have Android Studio and JDK 11+ installed.
  2. Make sure you have all default necessary plugins for android studio installed.
  3. Clone the project using git clone command into your local machine.
  4. Open Android Studio and open the project you have just cloned.
  5. Alternatively, you can use the Import from VCS option in Android Studio to clone the project.
  6. Wait for the gradle build to finish. This might take 5-10 mins depending on your system.
  7. Run the app on your local device or emulator to test it.