Mobile App Architecture, Lifecycle, and Performance Questions

Cross-platform mobile engineering concerns above the language layer: the app and component lifecycle, state preservation across process death, memory and resource management on constrained devices, fragmentation, and performance optimization. Covers the architectural and runtime reasoning shared by iOS and Android work. A platform-agnostic mobile competency.

MediumTechnical
34 practiced

Scenario: You need to display a smooth scrolling list with thousands of server-provided items on low-memory devices. Describe an end-to-end approach: backend pagination, client-side paging/virtualization, data windowing strategy, lightweight in-memory representations for visible items, prefetching thresholds, and approaches to handle search and filtering without pulling the entire dataset into memory.

EasyTechnical
38 practiced

Explain your step-by-step approach to debugging a crash or UI glitch that reproduces only on a physical Android device and not on the emulator for a React Native or Flutter app. Include tools, logs to collect, device metadata to capture, and quick triage checks you would run before deeper analysis.

MediumTechnical
32 practiced

Write (or outline) a Swift function to efficiently resize and downsample a UIImage to a target width while minimizing memory allocations and preserving aspect ratio. The function should perform decoding/downsampling off the main thread and return the result asynchronously via a completion handler. You may reference ImageIO APIs in your approach.

EasyTechnical
44 practiced

Describe how iOS and Android notify apps about memory pressure. For Android consider onTrimMemory with levels and onLowMemory; for iOS consider didReceiveMemoryWarning and background suspension. What actions should an app take when receiving these notifications to preserve state and avoid being killed?

HardTechnical
32 practiced

Write a Kotlin/JVM pseudo-implementation of an adaptive scheduler (class and method signatures) that decides when to run background sync tasks based on device conditions: battery level, network type (wifi/cellular), charging state, and last sync time. Focus on the core decision algorithm that is energy-aware, supports urgency overrides, and persists minimal state.

Unlock Full Question Bank

Get access to all Mobile App Architecture, Lifecycle, and Performance interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.