Loading indicator remains after call StopPullToRefreshLoading in Pull to Refresh

4 posts, 0 answers
  1. Andrew
    Andrew avatar
    6 posts
    Member since:
    Dec 2012

    Posted 10 Sep 2013 Link to this post

    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
  2. Deyan
    Admin
    Deyan avatar
    2038 posts

    Posted 12 Sep 2013 Link to this post

    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 >>
  3. DevCraft banner
  4. Andrew
    Andrew avatar
    6 posts
    Member since:
    Dec 2012

    Posted 12 Sep 2013 Link to this post

    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.
  5. Deyan
    Admin
    Deyan avatar
    2038 posts

    Posted 12 Sep 2013 Link to this post

    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 >>
Back to Top