This is a migrated thread and some comments may be shown as answers.

Loading indicator remains after call StopPullToRefreshLoading in Pull to Refresh

3 Answers 49 Views
DataBoundListBox
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Andrew
Top achievements
Rank 2
Andrew asked on 10 Sep 2013, 09:23 PM
Hi,
I am trying to implement Pull to Refresh in one of my ListBoxes. I can get it to partially work but I have the problem of getting the "Loading" indicator to disappear.

When I call StopPullToRefeshLoading(true), the indicator disappears briefly before reappearing.

Am I missing something? 

Is there an example of how to use this functionality?

Thanks

3 Answers, 1 is accepted

Sort by
0
Deyan
Telerik team
answered on 12 Sep 2013, 07:07 AM
Hi Andrew,

Thanks for writing.

The standard Pull-to-Refresh scenario includes the end-user pulling the list to display the loading indicator and notifying you that more data is needed. When you fetch the data from the source, you need to load it into the listbox and call the StopPullToRefreshLoading method to hide the indicator.

You can simply take a look at our source-code examples and the DataBoundListBox's Pull-to-Refresh section in particular. We have this scenario demoed there.

I hope this helps.

Regards,
Deyan
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINDOWS PHONE 7.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0
Andrew
Top achievements
Rank 2
answered on 12 Sep 2013, 09:11 AM
What happens if there is no new data to add to the listbox. Will the Loading indicator disappear even if I don't have data to load? It doesn't seem to.

I couldn't seem to find any examples that actually demonstrate how this works. I did find the documentation but that only had a partial example.

Thanks.
0
Deyan
Telerik team
answered on 12 Sep 2013, 12:10 PM
Hello Andrew,

Thanks for writing back.

Whenever you call the StopPullToRefreshLoading the indicator should disappear and return to its initial state. If you do not observe this behavior on your side, please open a new support ticket and attach a project that reproduces the issue so that we can directly take a look and see how we can further assist you.

Regards,
Deyan
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINDOWS PHONE 7.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
DataBoundListBox
Asked by
Andrew
Top achievements
Rank 2
Answers by
Deyan
Telerik team
Andrew
Top achievements
Rank 2
Share this question
or