Clicking OK returns a list with zero entries if none are checked, and also so does pressing the back key.
In my situation if the user doesn't want to keep any entries he leaves the list unchecked and the settings file is overwritten by one with zero entries.
If he changes his mind and just hits the back key the same result will happen and the user loses all his favorites.
Couldn't the back key return -1 so one can separate it from a valid 0 entries?
In my situation if the user doesn't want to keep any entries he leaves the list unchecked and the settings file is overwritten by one with zero entries.
If he changes his mind and just hits the back key the same result will happen and the user loses all his favorites.
Couldn't the back key return -1 so one can separate it from a valid 0 entries?