samedi 9 avril 2016

Keeping track if objects is posted to server or not (like snapchat)

I can't seem to wrap my head around a good design that allows the user to create an object, save to the database and keeping track if that object is posted to the server or not.

Like in snapchat - while offline you can create a snap-object including picture and receivers, press send and it shows up in the list (table view) of snaps, but if the device is offline, the request times out or fails, it will show a red exclamation mark and you can tab the cell to retry.

What is a good approach for doing a similar design? Any ideas?

Thanks in advance!

Aucun commentaire:

Enregistrer un commentaire