Tuto WINDEV Mobile 25

Part 5: Android and iOS: Developing an application 153 14. Close the simulator. Improving the window Managing "Pull to refresh" A new feature will be added to our window: the management of "Pull to refresh". This feature allows the user to "pull" a Table or Looper control in order to refresh its content. During this action, a refresh bar automatically appears in the exposed area: • The bar indicates that you must pull to refresh. • Then, the bar indicates that you must release to refresh. • The bar indicates that the refresh operation is in progress. A progress bar is displayed during the refresh duration. • The control is updated. ▶ To use the "Pull to Refresh" feature: 1. Display (if necessary) the "WIN_List_of_products_Advanced" window in the editor. 2. Select the Looper control and display the description window of control. 3.  In the "Details" tab of the description window of control, in the "Moves and gestures" area, check "Pull to refresh". Remark A specific internal window can be used to manage the "Pull to refresh" feature. In this example, we will be using the default window. See the online help for more details. 4. Validate the control description window.

RkJQdWJsaXNoZXIy NDQ0OA==