How to display rolling updates on Android and iOS

Issue

I have a requirement to display the different stages of a Process in a dialog box overlay on the mobile app such as “Process 1 started” “Process 1 completed” “Process 2 started” and so on until the process is completed.

Essentially, what I’m looking for is scrollable text in an overlay screen appearing as the app receives different notifications(BLE characteristics). No user interaction required. Is there an out-of-the-box dialog box control that I can use? Any other suggestions for such a display?

Solution

U can add the DialogFragment and

if(process1.isDone())
{
informationOnDialogFragment
}

if(process2.isDone())

...

But the easiest way is add ProgressDialog
U can set message to ProgressDialog

Answered By – Rodriquez

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published