Skip to content

TugceAras/BooksApp_MVVM

Repository files navigation

Books App 📘


  • The seventh homework given by UpSchool

NOTE : It is the updated version of the book application that I have developed before 👇

https://github.com/TugceAras/BooksApp

Added MVVM and Hilt.


📸 Screenshots



📱 Screens

  • SplashScreen
  • HomeScreen
  • DetailScreen

🎯 Goal

  • My application consists of two pages. Home and Detail screen. I am showing data from api on home screen. On the Detail screen, I show the details of the book I pulled from the API with Query in the same way.

✏️ Dependency


    plugins {
    id("com.android.application")
    id("org.jetbrains.kotlin.android")
    id("kotlin-parcelize")
    id("androidx.navigation.safeargs.kotlin")
    id("kotlin-kapt")
    id("dagger.hilt.android.plugin")
    }

    dependencies {

    implementation("androidx.core:core-ktx:1.10.1")
    implementation("androidx.appcompat:appcompat:1.6.1")
    implementation("com.google.android.material:material:1.9.0")
    implementation("androidx.constraintlayout:constraintlayout:2.1.4")
    testImplementation("junit:junit:4.13.2")
    androidTestImplementation("androidx.test.ext:junit:1.1.5")
    androidTestImplementation("androidx.test.espresso:espresso-core:3.5.1")

    // SSP-SDP
    implementation("com.intuit.ssp:ssp-android:1.1.0")
    implementation("com.intuit.sdp:sdp-android:1.1.0")

    // Navigation
    val navVersion = "2.7.1"
    implementation("androidx.navigation:navigation-fragment-ktx:$navVersion")
    implementation("androidx.navigation:navigation-ui-ktx:$navVersion")

    // Lottie
    implementation("com.airbnb.android:lottie:5.2.0")

    // Retrofit
    implementation("com.squareup.retrofit2:retrofit:2.9.0")
    implementation("com.squareup.retrofit2:converter-gson:2.9.0")

    // GLide
    implementation("com.github.bumptech.glide:glide:4.15.1")

    // Hilt
    implementation("com.google.dagger:hilt-android:2.47")
    kapt("com.google.dagger:hilt-compiler:2.47")
    }