android - Sequentially show multiple dialogs -


depending on different parameters (gps off, internet not available, etc.) it's quite possible app shows multiple dialogs on application start. doesn't nice if multiple dialogs pop , can see dialogs underneath it. that's why wondering if possible queue dialogs (by system) , open 1 after when current 1 has been closed.

i looking solution can open next dialog in onclicklistener not option. prefer global solution (not app start , selected amount of dialogs).

you might opt use cumulative dialog.

it's normal dialog in put string like:

string info = "gps: connected\nwifi: not connected\n\nbattery: 45%"; 

(just make example).

this way you'll concatenate messages in single string, using \n (new line) connector (make double, separate inconsistent info - such battery status, in example).

what you'll single information panel.
(in example):

gps: connected
wifi: not connected

battery: 45%


Comments

Popular posts from this blog

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -