This repository contains solutions to commonly asked Machine Coding Round (MCR) problems in Android Development using Kotlin. It serves as a practice hub for Android developers preparing for coding interviews.
- β Real-world Machine Coding Problems
- β Best Practices & Clean Code
- β MVVM Architecture
- β Jetpack Components (ViewModel, LiveData, Room, etc.)
- β Dependency Injection (Hilt)
- β Unit Testing & UI Testing
- β Modern Android Development (MAD) Practices
android-kotlin-mcr/
βββ app/
β βββ src/
β β βββ main/
β β β βββ java/com/imthiyas/
β β β β βββ data/ # Data Layer (Repositories, Models)
β β β β βββ ui/ # UI Layer (Activities, Fragments)
β β β β βββ di/ # Dependency Injection (Hilt Modules)
β β β β βββ utils/ # Utility Classes
β β β β βββ viewmodel/ # ViewModel Layer
β β β βββ res/ # UI Resources (Layouts, Drawables, Strings)
β βββ build.gradle
βββ README.md
These are the most frequently asked coding problems in Android Machine Coding Rounds:
1οΈβ£ Todo App with MVVM and Room
- Implement a simple to-do list using MVVM architecture and Room Database.
- Features: Add, Update, Delete tasks with LiveData & Coroutines.
2οΈβ£ Real-time Search in RecyclerView
- Implement a searchable RecyclerView with LiveData & Flow for filtering data dynamically.
3οΈβ£ API Integration with Retrofit and Coroutines
- Fetch data from an API using Retrofit and display it in a RecyclerView with proper error handling.
4οΈβ£ Background Sync with WorkManager
- Implement periodic background sync using WorkManager to fetch and store data offline.
5οΈβ£ Multi-threading with Coroutines
- Implement an app that processes large data using Coroutines, Flow, and Dispatchers for multi-threading.
6οΈβ£ Dependency Injection with Hilt
- Build a small project where dependencies are injected using Hilt for a cleaner architecture.
7οΈβ£ Jetpack Compose UI Implementation
- Create a modern UI screen using Jetpack Compose, implementing State Management & Navigation.
8οΈβ£ Navigation Component & Deep Linking
- Implement multi-screen navigation using Navigation Component & Deep Linking.
9οΈβ£ Crash & Performance Monitoring
- Integrate Firebase Crashlytics and Performance Monitoring into an app.
π Location Tracking with Google Maps API
- Build an app that fetches live location and shows it on Google Maps using FusedLocationProvider.
πΉ Contributions are welcome! Feel free to submit issues and pull requests.
If you found this repository helpful, leave a star β to support the project!