Pull to refresh a scrollview and a listview in UWP

TonyHe.6069TonyHe.6069 USUniversity ✭✭

Hi, I am build a UWP App in Xamarin.forms, is there a suitable nuget package I can use to add the pull to refresh function to the scrollview and listview in UWP? Thank you!

Best Answer

Answers

  • CharwakaCharwaka INMember ✭✭✭

    Hi @TonyHe.6069

    By Default Listview in Xamarin Forms Implements Pull To Refresh you just need to assign following properties to Listview
    IsPullToRefreshEnabled="True" RefreshCommand="{Binding RefreshListCommand}" IsRefreshing="{Binding IsBusy, Mode=OneWay}"

  • TonyHe.6069TonyHe.6069 USUniversity ✭✭

    @Charwaka said:
    Hi @TonyHe.6069

    By Default Listview in Xamarin Forms Implements Pull To Refresh you just need to assign following properties to Listview
    IsPullToRefreshEnabled="True" RefreshCommand="{Binding RefreshListCommand}" IsRefreshing="{Binding IsBusy, Mode=OneWay}"

    Hi Charwaka, I tried these codes, it is working in both iOS and Android, but not in UWP.
    Thank you.

Sign In or Register to comment.