Skip to content

tmyt/AmazingPullToRefresh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AmazingPullToRefresh

Features

  • Enables PullToRefresh to ListView, GridView, and more.
  • Good pull feeling.

Usage

  1. Add package from NuGet.
  2. Write XAML & CS
  3. Done!

Example

  • MainPage.xaml
<ListView xmlns:uwp="using:AmazingPullToRefresh.Controls">
    <uwp:PullToRefreshAdorner.Extender>
        <uwp:PullToRefreshExtender RefreshRequested="PullToRefreshExtender_RefreshRequested" />
    </uwp:PullToRefreshAdorner.Extender>
</ListView>
  • MainPage.xaml.cs
private async void PullToRefreshExtender_RefreshRequested(object sender, RefreshRequestedEventArgs e)
{
    var deferral = e.GetDeferral();
    await Task.Delay(2500); // something
    deferral.Complete();
}

ToDo

  • Stylize pull to refresh indicator

License

This library released under the MIT License.

About

Enables PullToRefresh to ListView, GridView, and more.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages