I have some images in my gallery and the image value depends on a complex formula. Since I have lots of data when I navigate to the screen which has the gallery for all rows the image value is same and as PowerApps process the data the images start changing. Which is a very nasty UX challenge.
I discovered "LoadingSpinner" property of galleries and thought that PowerApp will show the loading spinner while it is processing the gallery data and once all data is loaded it will show the gallery but even after setting the "LoadingSpinner" to LoadingSpinner.Controls nothing happens.
Solved! Go to Solution.
The problem was that the DelayItemLoading was set to false. It set it to true and now the Loading Spinner is visible.
Hi @Usmannb ,
The best setting for Loading Spinner I have found is Data - it is not perfect and will display the screen content a bit before it is all loaded, but it is better than nothing. You can also do your own spinner (there are a number of animated GIFs available with the Visible on a Variable that is set at the start of the code and reset (false) at the end of it.
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
Hi @WarrenBelz
I have set Dataverse table as the Datasource of the Gallery. And I can not use the Set or UpdateContext function to set variable value in the items property of the Gallery. So, what is the solution to set variable in my case?
@Usmannb ,
Other than a timer (and guess the loading time), not much ore than the LoadingSpinner function.
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.
The problem was that the DelayItemLoading was set to false. It set it to true and now the Loading Spinner is visible.
For Modern UI Experience we can use Skeleton Loading in PowerApps.
Please check my YouTube Video for more details
Skeleton Loading in PowerApps
User | Count |
---|---|
257 | |
108 | |
93 | |
57 | |
40 |