Android Clean Architecture
Clean Architecture in Android: layers, use cases, repository pattern, and SOLID principles
1What are the 3 main layers of Clean Architecture?
What are the 3 main layers of Clean Architecture?
Câu trả lời
Clean Architecture consists of 3 layers: Presentation (UI, ViewModels), Domain (Use Cases, business entities), and Data (repositories, data sources). Each layer has its responsibility and depends only on inner layers.
2What is a Use Case in Clean Architecture?
What is a Use Case in Clean Architecture?
Câu trả lời
A Use Case (or Interactor) is a class that encapsulates a single business action of the application. It contains business logic specific to a use case and orchestrates Repository calls. Example: LoginUseCase, GetUserProfileUseCase.
3What is the Repository pattern?
What is the Repository pattern?
Câu trả lời
Repository is an abstraction providing an interface for data access, hiding the actual source (API, local DB, cache). It coordinates different data sources and returns Domain entities. It centralizes data access logic.
What are the types of Data Sources in Clean Architecture?
What is the difference between Domain Models and Data Models?
+18 câu hỏi phỏng vấn
Các chủ đề phỏng vấn Android khác
Android Fundamentals
Android UI and Resources
Android Lifecycle
Android Navigation
Android Data Management
Android Networking
Android Testing
Android Gradle
Kotlin Language Essentials for Android
Room Database
Background Work
Jetpack Compose
Permissions and Device Features
Firebase for Android
Android MVVM Architecture
Advanced Android Networking
Kotlin Collections and Operators
Kotlin Coroutines and Flow
Android Dependency Injection
Android MVI Architecture
Android Compose Advanced
Android Performance and Monitoring
Android Security and Privacy
Android CI/CD and Release
Android UX and Form Factors
Android Testing Advanced
Nắm vững Android cho lần phỏng vấn tiếp theo
Truy cập tất cả câu hỏi, flashcards, bài kiểm tra kỹ thuật, bài tập code review và mô phỏng phỏng vấn.
Bắt đầu miễn phí