Coroutines and Flow Interview Questions for Android App Development
25 Coroutines and Flow questions with answers for android app development roles — 6 easy, 11 medium, 8 hard.
About Coroutines and Flow
Coroutines and Flow are how modern Android apps handle asynchronous work. Learn suspend functions, dispatchers, structured concurrency, cancellation, exception handling, StateFlow, SharedFlow and flow operators like debounce and flatMapLatest. These are among the most asked topics in mid-level Android interviews because they directly affect app stability and performance.
What does the suspend keyword mean?
Show answer
Explain Dispatchers.Main, IO and Default.
Show answer
What is the difference between launch and async?
Show answer
What is Kotlin Flow and how is it different from a suspend function?
Show answer
How do you keep up with changes in Kotlin and Android?
Show answer
What is structured concurrency?
Show answer
What is the difference between viewModelScope and lifecycleScope?
Show answer
Write code to fetch two API results in parallel inside a ViewModel.
Show answer
How do you handle exceptions in coroutines?
Show answer
Explain StateFlow versus SharedFlow.
Show answer
How should a Fragment or Activity collect a Flow safely?
Show answer
Write a Flow that combines user settings and product list into one UI state.
Show answer
The app shows an ANR when the user taps Save. The save function is suspend. What could be wrong?
Show answer
A screen shows a snackbar again every time the device rotates. How do you fix it?
Show answer
Network calls keep running after the user leaves a screen and results arrive late. How do you fix this?
Show answer
Describe a time you fixed a difficult concurrency bug.
Show answer
How does coroutine cancellation work, and why must code be cooperative?
Show answer
What is the difference between Job and SupervisorJob?
Show answer
Write a search flow that debounces user input and cancels stale requests.
Show answer
What do flatMapLatest, flatMapConcat and flatMapMerge do?
Show answer
Write a suspend function that wraps a callback-based API.
Show answer
How do you unit test a ViewModel that uses coroutines and StateFlow?
Show answer
You need to sync 500 images to a server without overloading the network. How would you design it with coroutines?
Show answer
Explain backpressure handling in Flow with buffer, conflate and collectLatest.
Show answer
Frequently asked questions
How important is Coroutines and Flow in Android App Development interviews?
Coroutines and Flow are how modern Android apps handle asynchronous work. Learn suspend functions, dispatchers, structured concurrency, cancellation, exception handling, StateFlow, SharedFlow and flow operators like debounce and flatMapLatest. These are among the most asked topics in mid-level Android interviews because they directly affect app stability and performance.
How should I use the Coroutines and Flow sheet?
Go top to bottom — easy to hard. Answer before opening each answer, tick what you solved and save misses to Last-Minute Revision.