Android architecture and DI interview questions

Layers, unidirectional data flow, MVVM and MVI, repositories, Hilt and modularisation for apps that keep growing.

5 quick facts

– interview-ready · 15 questions in this topic

– of 15 tried

Saved on this device. Interview-ready means you got it right on two different days. Guesses and hints count for less.

Questions

  1. UI, domain and data layersPick the fix
  2. Unidirectional data flow and UiStateOrder the steps
  3. MVVM vs MVIPick the fix
  4. Repositories and a single source of truthPick the fix
  5. Use cases and the domain layerPick the fix
  6. Dependency injectionPick the fix
  7. Hilt basicsFill the blank
  8. Hilt components and scopesPick the fix
  1. Runtime arguments with HiltPick the fix
  2. ModularisationPick the fix
  3. Modelling errorsPick the fix
  4. SOLID on AndroidPick the fix
  5. Design patterns you use every dayPredict
  6. Navigation between feature modulesOrder the steps
  7. Hilt vs Koin vs manual DIPick the fix

Practise this topic

Flashcards · 20

Flip, then say if you knew it. Needs JavaScript; every answer is also on its question page.

Quick quiz · 15 questions

One exercise per question, checked as you go. Needs JavaScript.

Mock interview · 3 sets

Timed, out loud, then tick what you covered. Needs JavaScript.

Quick facts

Recall the answer first, then tap Show to check.

Sources: Question outline adapted from Android-Interview-Questions by Mohsen Mirhoseini, licensed under Apache 2.0. We reorganised the questions, rewrote every answer and added new ones. Credits and license