My app has a webview at the bottom of the main screen showing the latest additions/comments made by users.
It would be nice to reload this webview every 10 minutes or so while the app is running.
Would I use a timer to do this?
or is there a better way.
Perhaps load in the B4XPage_Appear if it hasn't refreshed in the last 10 min.
Ie load app and load webview
start timmer
if I go to other pages and come back withing 10 minutes then do nothing
if I go to other pages and come back > 10 minutes thenreload
Thoughts, suggestions, examples?
It would be nice to reload this webview every 10 minutes or so while the app is running.
Would I use a timer to do this?
or is there a better way.
Perhaps load in the B4XPage_Appear if it hasn't refreshed in the last 10 min.
Ie load app and load webview
start timmer
if I go to other pages and come back withing 10 minutes then do nothing
if I go to other pages and come back > 10 minutes thenreload
Thoughts, suggestions, examples?