Closed Sivamuralidhar closed 8 years ago
HI @Sivamuralidhar . No problem here, in my command I can set IsRefreshing=false and it disables the spinner. Can you provide a sample of your code ?
Can't reproduce here.
Hello @jamesmontemagno , I'm facing this problem too, here's a sample of my code
<controls:PullToRefreshLayout
x:Name="ptrLatestNews"
IsPullToRefreshEnabled="True"
IsRefreshing="False"
RefreshColor="Blue">
var command = new Command(async () => await getConnection());
ptrLatestNews.RefreshCommand = command;
private async Task getConnection()
{
....
Device.BeginInvokeOnMainThread(() =>
{ptrLatestNews.IsRefreshing = false;
});
....
}
I've also put PullToRefreshLayoutRenderer.Init();
in both MainActivity
and AppDeligate
classes
Hi James ,
this control is really cool.thanks for posting it.
While using pull to refresh am getting an issue, after refreshing am trying to set IsRefreshing= false but unfortunately this option is not working and the spinner is displaying always.
Thanks, Sivamuralidhar.