Using B4A 10.5
I am attempting to show a message in a webview overrideurl sub as in this code:
	
	
	
	
	
	
	
		
			
			
			
			
			
		
	
	
	
		
	
	
		
	
This code lock my app and then the app shuts down.
I tried using Msgbox2Async but that causes the sub to be resumable so that didn't work.
How can I show a confirmation message in the WebView_OverrideURL?
			
			I am attempting to show a message in a webview overrideurl sub as in this code:
			
				B4X:
			
		
		
		Dim result As Int
    result = Msgbox2("Edit Selected Item?", "", "Yes", "", "No", Null)
    If result = DialogResponse.POSITIVE Then
        ' do something
        Return True
    Else
        ' do something
        Return True   
    End IfThis code lock my app and then the app shuts down.
I tried using Msgbox2Async but that causes the sub to be resumable so that didn't work.
How can I show a confirmation message in the WebView_OverrideURL?
 
				 
 
		 
 
		 
 
		 
 
		 
 
		