Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Sunday, August 7, 2016 2:27 PM
How can i display a spinning wheel loading indicator while loading a webview? Like this /
All replies (4)
Sunday, August 7, 2016 3:54 PM
set the **indeterminate **property to True
Sunday, August 7, 2016 5:51 PM
@MichaelShapiro but how can i display that while the webview is loading?
Sunday, August 7, 2016 6:58 PM
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.
Friday, October 11, 2019 6:27 AM
Hi, 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; activitySpinner.StartAnimating(); System.Threading.Thread.Sleep(9000); }