How to display a progress bar in Xamarin.Forms splash screen?

Mahmudul Hasan 1 Reputation point
2022-02-07T18:31:34.303+00:00

I researched the internet and couldn't find any good tutorial on this topic.

I want to show a loading progress bar animation on my SplashScreen activity.

There are a few incomplete resources on Xamarin Android but I want to do this in Xamarin forms

Now the question is how can I do this?

Developer technologies .NET Xamarin
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. JarvanZhang 23,971 Reputation points
    2022-02-08T05:55:27.813+00:00

    Hello,​

    Welcome to our Microsoft Q&A platform!

    I want to show a loading progress bar animation on my SplashScreen activity ... but I want to do this in Xamarin forms

    Hi, mahmudulhasan. Xamarin.Forms project is initialized on each platform after the native startup sequence has completed. The splash screen needs to be achieved on each platform. When displaying the SplashScreen activity, the page of the shared project is not initialized yet. So it's unable to do this in Xamarin.Forms. Please create the progress bar animation in SplashScreen activity instead.

    Best Regards,

    Jarvan Zhang


    If the response is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.