Design the first mobile screen before its data arrives

Specify what someone can see and do when a mobile screen has an empty cache, a saved draft or a request waiting to sync.

Three glass-like panels showing distinct empty and populated states

The dashboard has a clean illustration for “no items yet.” That screen also appears while the phone is offline and the cache has never loaded. One user is starting a fresh list. Another already has data elsewhere and has made a change that has not finished syncing. The same cheerful illustration serves three very different situations.

Write down what the device knows

An empty local store can mean “nothing cached” on the first launch. An empty response from the service can mean “known to be empty” at the time of that response. A locally saved draft is another useful state. The Android documentation for offline-first applications discusses separating local and network data sources. Decide which information is available for each interaction in the app you are making.

In a fictional inventory app, a first-time user offline should see that the device has not loaded the list. A returning user with a cached list can work with the entries and see when they were last updated. If adding a draft offline is supported, the interface can distinguish the local save from its arrival on the server.

Test the screen in that order

Start from a clean install, open once with a connection and reopen without it. Repeat with one pending change. Write down the exact state, visible action and outcome. In one test, bring the connection back and delay the server’s confirmation. The draft should still show its pending state. Then let the service acknowledge the change and check that the same draft appears as saved without a duplicate entry.

A small implementation note can record the fields that represent a known list, last successful refresh and locally pending work. This helps prevent a redesigned loading screen from conflating the same three cases again.

The useful empty screen tells a person what they can do now and what the app is waiting for. Its illustration can follow that decision.