Suggestion for Progress Bar

I was looking into ways to implement a progress bar and came across an approach that I think could work well as an off-the-shelf solution.

I used a Slider in disabled mode. By default, I set:

  • Disabled = true
  • Visible = false

Whenever I need to display progress, I simply set Visible = true.

The nice part is that, each time I use it, I can dynamically set the minimum and maximum values in the blocks. Then, after each completed step, I manually update the slider’s value until it reaches the maximum. Visually, it works quite well and gives the appearance of a standard progress bar.

I’d be interested to hear your thoughts. Do you see any drawbacks or limitations that I might have overlooked?

Is there a reason you want to use stored variables compared to app variables?

When the app starts it load huge database for the first time, so I wanted to save it in local mobile storage in order not to load it again unless there is a change in the database. The change is detected through a checksum value in the google sheet where my database is.

Sounds reasonable. In that case, despite its looks, your blocks seem fine. I don’t see any limitations with the setup.

When the app starts it load huge database for the first time, so I wanted to save it in local mobile storage so that it is not loaded again unless there is a change in the database. The change is detected through a checksum value..


Best Regards,

Majid FAREED

Is there any better way to implement routine?