Pause functionality for auto refresheral
Im using auto refreshal for Navigation between screens. how can i implement pause functionality(button) in this usecase. and suggestions about timer.
Thanks in advance!!
Im using auto refreshal for Navigation between screens. how can i implement pause functionality(button) in this usecase. and suggestions about timer.
Thanks in advance!!
If you don't want to make the AutoRefresh visible and use a button to stop the auto refresh setting:
1. Button only has pause function: Use the button to trigger a service, the service return a False Boolean result, bind the result to AutoRefresh widget AutoRefresh property
2. Button can control both Pause and Play: make the service return True and False result in turn.
Auto-refresh time interval is also a property input for the widget, you can bind a service with Numeric output to it.
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.