After the (initial setup) a reward view can be displayed with a single line of code.
- If enabled then immediately show a loading screen;
- Try to acquire product info using `GetProduct(string, Action<Product>);
GetProductfailed then log an error and hide the loading screen;
GetProductsucceeded then immediately call
ShowProduct(Product)for acquired Product;
ShowProductwill initialize the product view with basic information about the product and start downloading product images (image download is controlled by the Product object but the Product Page controller waits until all images are reported as downloaded);
- When image download finishes the loading screen will be closed.
To have more detailed control over the product loading process see the guide in Preloading the product page.
Updated 2 months ago
Want to have finer control over the product displaying process? We've got you covered!
|Preloading product page|