SOLID Compliant MVVM ViewModel | SOLID with Android - Part 3
ViewModel and SOLID principles. We explore how to replace direct instantiation of concrete classes with abstractions, using the example of CountryRepository and ICountryRepository. Additionally, we dive into the importance of interfaces for ViewModel to enhance testability and maintainability.
Key topics covered include:
Refactoring ViewModel for better architecture
Implementing abstractions for CountryViewModel using interfaces
SOLID principles applied to Android development
Best practices for handling business logic in Jetpack Compose
Stay tuned as we look deeper into why mixing UI and business logic can lead to architectural issues and how we can fix them.
Make sure to watch until the end, where we discuss the next steps in optimizing our Android architecture for better testing, modularity, and performance.
#AndroidDevelopment #SOLIDPrinciples #ViewModel #JetpackCompose #AndroidArchitecture #Refactoring #InterfaceAbstraction #CleanCode #AndroidJetpack #SoftwareArchitecture
GitHub link to the code : https://github.com/AnilDeshpande/CountryInfoApp/tree/live-coding
Follow me on Twitter: https://twitter.com/anilvdeshpande
Chapters
0:00 - Introduction 0:08 - Refactoring the ViewModel
1:21 - Implementing Abstractions with Interfaces
2:50 - Using Filter Functionality in Composables
4:17 - Questions on SOLID Principles and UI Separation
Видео SOLID Compliant MVVM ViewModel | SOLID with Android - Part 3 канала Codetutor
Key topics covered include:
Refactoring ViewModel for better architecture
Implementing abstractions for CountryViewModel using interfaces
SOLID principles applied to Android development
Best practices for handling business logic in Jetpack Compose
Stay tuned as we look deeper into why mixing UI and business logic can lead to architectural issues and how we can fix them.
Make sure to watch until the end, where we discuss the next steps in optimizing our Android architecture for better testing, modularity, and performance.
#AndroidDevelopment #SOLIDPrinciples #ViewModel #JetpackCompose #AndroidArchitecture #Refactoring #InterfaceAbstraction #CleanCode #AndroidJetpack #SoftwareArchitecture
GitHub link to the code : https://github.com/AnilDeshpande/CountryInfoApp/tree/live-coding
Follow me on Twitter: https://twitter.com/anilvdeshpande
Chapters
0:00 - Introduction 0:08 - Refactoring the ViewModel
1:21 - Implementing Abstractions with Interfaces
2:50 - Using Filter Functionality in Composables
4:17 - Questions on SOLID Principles and UI Separation
Видео SOLID Compliant MVVM ViewModel | SOLID with Android - Part 3 канала Codetutor
Anil Deshpande Codetutor Anil V Deshpande CodeTutor-DemystifyCoding Code Tutor-Demystify Coding Learning Android Android Tutorials Android for beginners Getting started with Android Kotlin Kotlin Jetpack Compose Jetpack Compose tutorials SOLID design Principles Android with SOLID Android MVVM with SOLID ViewModel with SOLID
Комментарии отсутствуют
Информация о видео
12 сентября 2024 г. 13:00:04
00:05:39
Другие видео канала