Quiz App In Jetpack Compose | Clean Architecture | MVVM | Retrofit | Papaya Coders

Опубликовано: 15 Октябрь 2024
на канале: Papaya Coders
5,669
158

Do you want to connect with lot of DEVELOPERS
join : https://telegram.me/papaya_coders

Online Toolkit Pro : https://toolkit.papayacoders.in/

Source Code : https://papayacoders.in/shop

API link - https://opentdb.com/api_config.php

Content

00:00:00 - 00:06:51 - Introduction
00:06:52 - 00:17:29 - Project Setup
00:17:30 - 00:38:24 - Home Screen (Design Explanation)
00:38:25 - 01:10:55 - Event and State for Home Screen
01:10:56 - 01:17:23 - Quiz Screen - I ( Design Explanation)
01:17:24 - 01:34:22 - Setting Up app's Nav Graph
01:34:23 - 02:27:53 - Getting Quizzes (Dara Layer work)
02:27:54 - 02:49:37 - Quiz Screen - II ( Design Explanation)
02:49:38 - 03:28:05 - Showing Quizzes in Horizontal View Pager
03:28:06 - 03:57:56 - Event and State for Quiz Screen
03:57:57 - 04:13:40 - Score Screen
04:13:41 - 04:14:17 - Outro

Dependencies

plugins {
id("com.android.application")
id("org.jetbrains.kotlin.android")

id("kotlin-kapt")
id("com.google.dagger.hilt.android")
id("kotlin-parcelize")
}

id("com.android.library") version "8.0.2" apply false
id("com.google.dagger.hilt.android") version "2.44" apply false
id("org.jetbrains.kotlin.plugin.serialization") version "1.8.10"


//Splash Api
implementation ("androidx.core:core-splashscreen:1.0.1")

//Compose Navigation
val nav_version = "2.7.7"
implementation ("androidx.navigation:navigation-compose:$nav_version")

//Dagger Hilt
implementation ("com.google.dagger:hilt-android:2.49")
kapt("com.google.dagger:hilt-compiler:2.45")
implementation ("androidx.hilt:hilt-navigation-compose:1.2.0")

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

//Compose Foundation
implementation ("androidx.compose.foundation:foundation:1.6.7")

//Accompanist
implementation ("com.google.accompanist:accompanist-systemuicontroller:0.31.4-beta")

// lottie
implementation ("com.airbnb.android:lottie-compose:6.0.0")

Please do consider subscribing our channel if you like this tutorial.


Feel free to drop a message on Instagram if you want to work on Real Projects.

Please SHARE our videos - So we can connect with lot of people and help them.


Check our kotlin courses to start journey
   • Kotlin crash course. Kotlin for andro...  


Want to start with Android Development
   • android development full course in hi...  


Step by step Android Development Series
   • android development full course in hi...  


Most loved series - College App with Admin App
   • Video  


Connect With us to get updated
➯ Telegram Group : https://telegram.me/papaya_coders
➯ Instagram :   / papayacoders  
➯ Facebook :   / papayacoders  
➯ Twitter :   / papayacoders  
➯ LinkedIn :   / papayacoders