Skip to content

wenzhiming/kotlin-mvvm-compose

Repository files navigation

kotlin-mvvm-compose-demo

Introduction

  1. Language:
    • Kotlin
  2. API Integration:
    • Fetch data from the API endpoint using HTTP GET method with x-api-key as Header (x-api-key value will be provided separately).
    • Parse the JSON response and map it to Kotlin data classes.
  3. Architecture:
    • Implement the MVVM (Model-View-ViewModel) architecture.
    • Use Kotlin Flow for reactive data handling.
  4. UI:
    • Display the fetched data in a list.
    • Implement pagination to load 5 items per page.
    • Use Jetpack Compose for the UI.

Development environment configuration

  • Android Studio版本:Android Studio Hedgehog | 2023.1.1 Patch 2
  • AGP版本:8.2.2
  • Gradle版本:8.2
  • targetSdkVersion:34
  • JDK : 17

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages