Skip to content
RED SAGSkills
mediumMobile App Developer interview question

Users say a list in your app stutters while scrolling. How would you find and fix the problem?

What the interviewer wants to hear

  • Reproduce on a low-end device in release mode
  • Profile with Android Studio Profiler, Xcode Instruments or Flutter DevTools
  • Look for main-thread work: image decoding, parsing, database calls
  • Use lazy lists with stable keys and avoid unnecessary recomposition or re-render
  • Downsample and cache images, flatten layouts

Model answer

First I reproduce it on a real low-end device using a release build, because debug builds are slower and misleading. Then I profile: Android Studio Profiler and system traces, Xcode Instruments Time Profiler, or Flutter DevTools frame chart. I look for frames that miss the 16ms budget (or 8ms at 120Hz) and what runs on the main thread during them. Common causes are decoding large images, JSON parsing or database queries on the main thread, deep or complex item layouts, and items re-rendering when nothing changed. Fixes include moving work to background threads, using an image library that downsamples and caches, giving list items stable keys, making item parameters stable or memoised, and simplifying layouts. Then I measure again to confirm.

Can you answer it under time pressure?

Take a timed medium round and get scored on every answer.

Start mock interview

More medium Mobile App Developer questions