How can i display a spinning wheel loading indicator while loading a webview?
Like this \/
set the **indeterminate **property to True
@MichaelShapiro but how can i display that while the webview is loading?
Have the "spinner" on the activity and hidden by default. Start loading the web (or any other lengthy operation) in asynchronous manner and make the "spinner" visible. Once the asynchronous operation is complete - hide the spinner again. Something like that. Actual code, of course, depends on what exactly you are trying to do.
We are using an activity spinner while loading a webview but activity spinner not showing on webview LoadStarted event.
Please check my code below and guide me.
private void MyWebView_LoadStarted(object sender, EventArgs e)
activitySpinner.Hidden = false;
Xamarin Inc., as a wholly-owned Microsoft subsidiary acting as a separate legal entity, adheres to the Microsoft Privacy Statement: Privacy & cookies