14 - Implement Spinner for Product Details Page
Set up and use a spinner control to hide UI until all data is available to display, as part of the SAP CodeJam.
You will learn
- How to set up and use a spinner control
- How to delay displaying data until it is retrieved
Prerequisites
- You have completed the previous tutorial for the SAP Build CodeJam, Enable App to Filter Products.
As you know your app has a product list and product details pages, but have you noticed while testing today that for a brief moment, after selecting a product, you can see empty or null fields on the product detail page?
In this exercise, you will enhance the Product details page by adding a spinner and only showing the fields once they are populated with the data.
There are 2 ways to show a spinner:
- Using special flow functions to show and hide the entire page.
- Using a spinner control that you position on the UI where you want to show a spinner, and control with a page variable.
You’ll do both.










