• My complete prompt was this
✅ ANDROID INTERVIEW QUICK-REVISION CHECKLIST
(For Senior Developer Round – Android Associate SDE)
1. Activity, Fragment & Lifecycle
Must Know
Explain the Activity lifecycle with real-world examples
Explain the Fragment lifecycle and how it differs from Activity
When is onPause() called?
What happens on configuration change?
How to retain ViewModel across config changes?
Fragment → Activity communication patterns
2. UI, Layouts, RecyclerView & Custom Views
UI/Layouts
Difference between ConstraintLayout, LinearLayout, RelativeLayout
Why is ConstraintLayout preferred?
What is overdraw? How to detect and reduce it?
RecyclerView
How RecyclerView works internally
Purpose of ViewHolder
DiffUtil — why and when to use it
Multiple view types
Custom Views
When to create one
Lifecycle of a View: onMeasure, onLayout, onDraw
How to draw custom shapes
3. Kotlin + Coroutines + Flow
Kotlin basics
Data classes, sealed classes, extension functions
Inline functions, higher-order functions
Null safety & safe calls (?., !!, ?:)
Coroutines
launch, async, withContext, CoroutineScope
Main, IO, Default Dispatchers
Structured concurrency
Exception handling in coroutines
Flow
Flow vs LiveData
StateFlow vs SharedFlow
Cold vs Hot streams
4. Architecture Patterns
MVVM
Responsibilities of ViewModel vs Repository
How to store UI state (StateFlow)
ViewModel + Hilt example flow
Why ViewModel shouldn't hold context
Clean Architecture basics
Domain, Data, UI layers
Use cases
Dependency Injection (Hilt / Dagger)
@Module, @Provides, @Binds
@Singleton, @Inject, @Named
Hilt component hierarchy (Singleton, Activity, Fragment, ViewModel)
5. Networking
Retrofit — how it works
OkHttp interceptors (logging, header, token refresh)
Handling API errors (HTTP vs parsing errors)
Synchronous vs asynchronous calls
Glide / Coil
How caching works
When to clear image cache
6. Storage & Data Handling
Room
DAO, Entity, Database
Migrations
Difference between suspend DAO vs Flow DAO
SharedPreferences vs DataStore
Why DataStore is preferred
7. Background Work
WorkManager
Unique work, periodic work
Constraints (Wi-Fi, charging, idle)
Services
Foreground service vs background service
Binding to a service
BroadcastReceiver
Implicit & explicit broadcasts
Runtime vs manifest registered
8. Android Internals
Activity launch modes (standard, singleTop, singleTask, singleInstance)
Tasks & back stack
Intent flags (FLAG_ACTIVITY_CLEAR_TOP, etc.)
ANR — causes & prevention
9. Testing
Unit testing ViewModel (using Mockito/Kotest/MockK)
UI tests (Espresso basics)
Why we use Fake/Mock repositories
10. Performance, Optimization, and Best Practices
Memory leaks (and LeakCanary)
Avoiding context leaks
Large bitmap handling
Proper architecture separation
Lazy loading & pagination
Clean API design
11. Common Practical Questions
Be able to verbally explain how you'd implement these:
Pagination using RecyclerView + Retrofit
Offline-first architecture (Room + Network)
Image loading with authentication headers (Glide + OkHttp)
Custom View (like rating bar, dashes indicator)
Snackbar/Toast from ViewModel (Event wrappers, SharedFlow)
Debouncing search using Flow
12. Behavioral Questions (Specific for Android Devs)
Tell me about a tough bug you solved
Explain a feature you built end-to-end
How do you ensure code quality in a team?
Time you optimized performance
How you handle disagreements in code reviews
There are my interview prepartion question
Write a text file with answer to each one of them in detail use .txt file
——
I was using Auto mode (no particular agent
• I can try, but trying this would take time. I will definitely try it later.
• Yes, I tried this and it worked
• Request IDs are as follows
8a54bec2-93cf-47c4-8069-3551154c0226
5ee40e7f-d35e-4e44-a2fc-35b101f0fd2b
• I couldn’t find errors there as of now, I will share once I get the error again.
Thanks for the time and effort