ENGINEERING RESIDENCYBy Mobterest Studio
RP-26-003Members only

Cover sheet

The refresh that lies

Case
RP-26-003
Concept area
State management
Level
Beginner
Time
About 15 minutes
Tags
AsyncNotifier, pull-to-refresh, futures
Draws on
ref: The Deep DiveProducts: Async Data from Backend

Incident report

You work on a news reader app. Users pull down on the headlines list to refresh it. Two complaints arrive in the same week:

"Pull to refresh doesn't work. The spinner disappears straight away and nothing changes."

"Sometimes the headlines change by themselves a couple of seconds after I give up refreshing."

The backend team also asks why some phones hit the headlines endpoint four times in a few seconds.

Investigator's notes

The spinner is meant to stay up until the new headlines arrive. Why does it vanish after 40 milliseconds?

Sign in to investigate

Your hypothesis is saved with the case, and the reveal unlocks straight after.

Ready when you are. Investigate, then file your notes.

  1. 1Read the report
  2. 2Study each exhibit0/4
  3. 3Answer both questions0/2
  4. 4File your notes to unseal the envelope