The Xamarin Pull-to-Refresh control is a panel that can be pulled to refresh data in an application. It can be done either through user interaction or programmatically. It has the ability to load any complex views or layouts in its pulling pane and allows users to pull down from the top of the view. Furthermore, the appearance and transition of the progress indicator can be customized.
Animate transitions between the pulling pane and the refresh indicator when performing a pull operation. The two types of built-in transitions are:
Load a ListView control, even one with a complex template, in the pulling pane and refresh the data by pulling down from the top of the ListView.
Load complex views such as the DataGrid or any other custom layouts in the pulling pane and refresh the data through a pulling action. You can also customize the built-in pulling transition animation.
Customize the appearance of the progress indicator for a better user experience. Choose from built-in transition modes to achieve a platform-specific native look and feel.
Customize the following aspects:
Easily get started with the Xamarin.Forms Pull To Refresh using a few simple lines of XAML and C# code example as demonstrated below. Also explore our Xamarin.Forms Pull To Refresh Example that shows you how to render and configure the Pull To Refresh for Xamarin.Forms.
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:local="clr-namespace:GettingStarted"
x:Class="GettingStarted.MainPage"
xmlns:syncfusion="clr-namespace:Syncfusion.SfPullToRefresh.XForms;assembly=Syncfusion.SfPullToRefresh.XForms">
<syncfusion:SfPullToRefresh x:Name="pullToRefresh"/>
</ContentPage>
using Syncfusion.SfPullToRefresh.XForms;
using Xamarin.Forms;
namespace GettingStarted
{
public class App : Application
{
SfPullToRefresh PullToRefresh;
public App()
{
PullToRefresh = new SfPullToRefresh();
MainPage = new ContentPage { Content = PullToRefresh };
}
}
}
You can find our Xamarin Pull To Refresh demo here.
No, this is a commercial product and requires a paid license. However, a free community license is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue, 5 or fewer developers, and 10 or fewer total employees.
A good place to start would be our comprehensive getting started documentation.
Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion is proud to hold the following industry awards.