Mid leveltech

Android Developer
Interview Questions

Covering Android Developer interview questions — Kotlin, Jetpack, architecture patterns, and Android internals.. Free, no signup required.

10 questions ready

Q1
Describe the lifecycle of an Android Activity and explain how you would handle state preservation during configuration changes. What are the trade-offs between using ViewModel, onSaveInstanceState, and retained fragments?
Why they ask this:* They're testing your deep understanding of Android fundamentals and your ability to choose appropriate solutions for preserving UI state in real-world applications.
Q2
Explain the difference between LiveData and StateFlow. In what scenarios would you use one over the other, and how does each interact with Kotlin coroutines?
Why they ask this:* They want to assess your knowledge of modern Android architecture patterns and whether you understand reactive programming paradigms currently used in the industry.
Q3
Walk us through how you would implement dependency injection in an Android project. Compare constructor injection, setter injection, and using a DI framework like Hilt—what are the pros and cons of each?
Why they ask this:* This tests your understanding of software design principles, testability, and whether you can architect scalable, maintainable code at a mid-level perspective.
Q4
How would you optimize memory usage in an Android app that loads and displays high-resolution images? Discuss caching strategies, image compression, and tools you would use to identify memory leaks.
Q5
Tell me about a time when you had to debug a complex issue in production that wasn't immediately obvious. What was your approach, and how did you communicate the problem and solution to your team?
Q6
Describe a situation where you had to learn a new Android framework or library quickly to meet a deadline. How did you approach the learning process, and what was the outcome?
Q7
Can you share an example of when you received critical feedback on your code during a pull request review? How did you respond, and what did you learn from that experience?
Q8
What would you do if you discovered that a critical feature you spent two weeks building is incompatible with our target minimum API level, and the deadline is in three days?
Q9
How would you handle a situation where a senior engineer and a product manager strongly disagree on whether to refactor legacy code or build a new feature, and both are asking for your technical opinion?
Q10
Imagine you're working on a feature and realize the API contract provided by the backend team doesn't match what you actually need to build the UI efficiently. What steps would you take to resolve this?
🔒

7 questions locked

Upgrade to unlock all 10 questions with answer guides, videos & PDF

Upgrade to unlock →

Want questions tailored to a specific company?

Try the full generator →