Android Question Closing/destroying a WebView when changing orientation

yo3ggx

Active Member
Licensed User
Longtime User
I have a webview playing a HTML5 remote audio stream. When changing orientation, the activity is destroyed and rebuilt, but audio continue to play in the background.
The newly re created webview start playing the same stream that overlaps with the previous one. How can I full close/destroy a webview when the device is changing orientation?
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
 
Upvote 0
Top