We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Very difficult to implement SfPullToRefresh

Hi,
I'd like to ask for some help in using the SfPullToRefresh control. I have already read the documentation and the following thread with attached example: https://www.syncfusion.com/forums/xamarin.forms/sfpulltorefresh

Though the docs say it's easy to implement, I find it very difficult to use this control (and I'm not a newbie). Both the latter example and the code shown in the documentation produce a blank result for me. The official example uses a totally custom page that is not useful outside that sample and that makes it unclear about implementing the control.

I'd simply like to have a pullable, data-bound ListView with an activity indicator. I've placed a ListView as the PullableContent for the control, but I get nothing. I've placed a Grid and/or StackLayout as the ListView container to the PullableContent, but nothing.

Please the community needs easier and clearer examples. Thanks for any help.

3 Replies

MV Mohana V Syncfusion Team August 23, 2016 12:34 PM UTC

  
Hi Alessandro,

Sorry for the inconvenience caused.

We have logged report for this to made necessary changes in PullToRefresh online UG document based on your suggestion. We will address this and refresh the same in online on or before August 30, 2016.

Also, we have created simple pulltorefresh sample for your reference and please find it in the below location,

http://www.syncfusion.com/downloads/support/directtrac/general/PULLTO~1-318242112.ZIP

Regards,
Mohana V
 



BF Brad Foskett February 2, 2017 04:48 PM UTC

"Both the latter example and the code shown in the documentation produce a blank result for me."

I'm getting a completely blank screen as well regardless of what type of content I add to the PullableContent property. I've set a background color for SFPullToRefresh and can verify that it gets added to the view properly. It just doesn't display my content. 

In my opinion this is a broken component. One should simply need to install the DLL's and wrap any type of content in SFPullToRefresh.




AK Ashwin Kumaravel Syncfusion Team February 3, 2017 10:50 AM UTC

Hi Brad,

Query 1: "latter example produce a blank result for me"

The sample which you have referred for PullToRefresh is contains only iOS project. Now we have created the sample in both Android and iOS platforms. Please find the sample from below location.

http://www.syncfusion.com/downloads/support/directtrac/general/ze/PullToRefreshSample-836446834

 
Query 2: "code shown in the documentation produce a blank result"

Can you check whether the required assemblies are added in android project like below link.

https://help.syncfusion.com/xamarin/sfpulltorefresh/getting-started#reference-essential-studio-components-in-your-solution

Getting Started with syncfusion SfPullToRefresh control for Xamarin.Forms

help.syncfusion.com

A quick tour to initial users on Syncfusion SfPullToRefresh control for Xamarin.Forms platform

We had added the necessary dll's in the above sample.


Regards,
Ashwin k 


Loader.
Live Chat Icon For mobile
Up arrow icon