0

In my application I have to parse a big object which has other parcelable things inside so it takes some time 1-2 secs.

I would like to implement UI feedback for the time needed by the application to parse my object, but have no idea how to do it. How do I present a statusbar or something while the parsing is ongoing ?

Thank you.

mp3por
  • 1,796
  • 3
  • 23
  • 35

1 Answers1

0

Implement some logic for displaying spinner or some loading icon and display it while you're waiting for the object to parse.

showSpinner();
Object object = Object.parse(value);
hideSpinner();
Bri6ko
  • 1,858
  • 1
  • 18
  • 29