Location Change Events
There are two events related to the location in the web view changing. The first is
NativeWebViewEvent.LOCATION_CHANGING which will get dispatched when the location
in the web view is about to change. The second is
which is dispatched when the location is changed.
NativeWebViewEvent.LOCATION_CHANGING event allows you to intercept links
from the web view and handle them differently. If you call
then the location change will not occur and the
will not be dispatched. The web view will not change.
You may wish to see the
WebViewOptions.linkTargetActionsetting and handle
BLOCKEDlinks as well. See the documentation in the Web View Options