I Have A Ask 2 Question
1 Ask >> i use webview and swipetorefresh
if check connection method
Internet Connection is ON
webview loaded current page
Internet Connection is OFF
webview Error Page
i want to do current page
but swipe refresh internet connection ON condition webview go to home page how to do current page refresh ...
( but error page is local current page ) not work :3
somebody help me
check method how to do please a example source
=================================================================
2 Ask >> Activity_KeyPress
WebView Have a many page gone
i have use function webview.back it's correct
i want to know
( all page are back gone , last of home and then press backkey 2press application EXIT ) how to do ??
Thank You
Help Me EveryBody know that .
1 Ask >> i use webview and swipetorefresh
if check connection method
Internet Connection is ON
webview loaded current page
Internet Connection is OFF
webview Error Page
i want to do current page
but swipe refresh internet connection ON condition webview go to home page how to do current page refresh ...
B4X:
wvext.reload
somebody help me
B4X:
if else or for each
B4X:
Sub swipe_Refresh
If IsConnected = False Then
wvext.loadUrl("file:///android_asset/index.htm")
ToastMessageShow("Error: Server response, Can't fetch show data.", True)
Else If IsConnected = True Then
wvext.LoadUrl("CurrentPage") << i need this line
End If
wvext.Reload
swipe.Refreshing = False
End Sub
=================================================================
2 Ask >> Activity_KeyPress
WebView Have a many page gone
i have use function webview.back it's correct
i want to know
B4X:
webview.back
Thank You
Help Me EveryBody know that .
Attachments
Last edited: