- Home
- Forum
- Xamarin.Forms
- Progressbar when returning to a page
Progressbar when returning to a page
Good afternoon, I am trying to place a progress bar when making a payment (asynchronous) and return to the main screen showing an Ok message. I have read the documentation, but it is not clear to me the use of the progress bar, please help me. Thank you.
SIGN IN To post a reply.
6 Replies
DS
Devaraj Sekar
Syncfusion Team
February 21, 2020 12:11 PM UTC
Hi David,
Thank you for contacting Syncfusion support.
We have prepared the sample based on the given information which can be downloaded from the below link.
Kindly confirm us whether the provided sample fulfills the requirement or provide us the detailed information about your requirement, design layout or exact use case scenario which will be helpful for us to provide a prompt solution at earliest.
Regards,
Devaraj S
DA
David
February 21, 2020 01:39 PM UTC
At the time of running the program, I have this issue.
DA
David
February 21, 2020 03:18 PM UTC
Excuse me, tremendous error, it is the busy indicator, I am making a payment through a rest and while waiting and turning to the previous page, I am trying to load that busy indicator. Thank you very much for the prompt response and for the support. The tools are just great = D
SP
Sakthivel Palaniyappan
Syncfusion Team
February 24, 2020 12:44 PM UTC
Hi David,
Thanks for your update.
We have analyzed your query and you can fulfil your requirement of “Loading the busy indicator when return to the page” using SfBusyIndicator as like below code snippet.
XAML:
Thanks for your update.
We have analyzed your query and you can fulfil your requirement of “Loading the busy indicator when return to the page” using SfBusyIndicator as like below code snippet.
XAML:
|
<StackLayout>
<busyIndicator:SfBusyIndicator x:Name="busy" IsBusy="True" AnimationType="SingleCircle"/>
</StackLayout> |
C#:
|
public FisrtPage()
{
InitializeComponent();
ShowBusy();
}
protected async void ShowBusy()
{
base.OnAppearing();
await Task.Delay(2000);
busy.IsBusy = false;
Navigation.PopAsync();
await Application.Current.MainPage.DisplayAlert("Transaction Status", "Transaction Completed", "OK");
} |
Sample link : https://www.syncfusion.com/downloads/support/directtrac/general/ze/TransactionSample-577450546.zip
Please let us know if you have any other queries.
Regards,
Sakthivel P.
DA
David
February 24, 2020 07:12 PM UTC
Thank you!!! It's the control I needed!
SP
Sakthivel Palaniyappan
Syncfusion Team
February 25, 2020 09:30 AM UTC
Hi David,
Thanks for your update.
We are glad to know that given solution works.
Please let us know if you have any other queries.
Regards,
Sakthivel P.
Thanks for your update.
We are glad to know that given solution works.
Please let us know if you have any other queries.
Regards,
Sakthivel P.
SIGN IN To post a reply.
- 6 Replies
- 3 Participants
-
DA David
- Feb 20, 2020 11:12 PM UTC
- Feb 25, 2020 09:30 AM UTC