Build Cocktail App From Scratch [MVVM | SOLID Principles | Hilt DI] + Debugging

Опубликовано: 15 Март 2026
на канале: Coding Reel
386
13

#zerotohero #mvvm #solid #kotlin #android

From zero to hero in Android! In this video, we'll cover essential concepts like MVVM architecture, SOLID principles, and Hilt DI for seamless dependency injection in Kotlin. Plus, we'll dive into real-world debugging scenarios to help you troubleshoot like a pro.

▬ Dependencies ▬▬▬▬▬▬▬▬▬▬

app/build.gradle.kts
implementation(libs.androidx.lifecycle.runtime.ktx)
implementation (libs.androidx.lifecycle.viewmodel.ktx)

// DI
implementation(libs.bundles.hilt)
kapt(libs.hilt.compiler)
annotationProcessor(libs.hilt.compiler)

// Image loading
implementation(libs.bundles.coil)

// Moshi
implementation(libs.moshi.kotlin)

// Retrofit
implementation(libs.retrofit)

// Retrofit with Moshi Converter
implementation(libs.converter.moshi)

// OkHttp
implementation(libs.okhttp)

// Logging interceptor
implementation(libs.logging.interceptor)

▬ Related ▬▬▬▬▬▬▬▬▬▬
🎥 Convert MVVM Arch into MVI Arch [JAVA] | Step by Step | Android
→    • Convert MVVM Arch into MVI Arch [JAVA] | S...  

🎥 Login with Retrofit using MVVM Java | Step By Step Explanation
→    • Login with Retrofit using MVVM Java | Step...  

▬ Repo ▬▬▬▬▬▬▬▬▬▬
Base App: https://github.com/Faisal-FS/Cocktail...
Final App: https://github.com/Faisal-FS/Cocktail...

▬ Contents ▬▬▬▬▬▬▬▬▬▬
0:00 - Intro
0:20 - Demo
1:10 - MVVM Diagram
3:50 - Dependencies
6:20 - UI
24:36 - Package Structure
28:00 - Model
47:27 - Viewmodel
58:23 - View binding
1:14:38 - Hilt DI
1:59:20 - Debugging Error
2:07:12 - Call to action
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

▬ Have a video request? ▬▬▬▬▬▬▬▬▬▬
Any thoughts or suggestions are greatly appreciated. Also, you can request a video upon automation. Leave them in the comments below.

▬ More Videos On Android?▬▬▬▬▬▬▬▬▬▬

Make sure to hit the like and subscribe button to learn more
SUBSCRIBE for more tutorials on android application development and then automating the apps for CI/CD

https://bit.ly/2XmkEig