Bug 33561 - Listview Pull-to-Refresh ActicityIndicator animation stuck when navigating away and then back again
Summary: Listview Pull-to-Refresh ActicityIndicator animation stuck when navigating aw...
Status: VERIFIED FIXED
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 1.5.0
Hardware: Macintosh Mac OS
: Normal normal
Target Milestone: ---
Assignee: Rui Marinho
URL:
Depends on:
Blocks:
 
Reported: 2015-09-02 02:33 UTC by Jacob
Modified: 2016-09-14 12:53 UTC (History)
8 users (show)

Tags: ac ios android visual listview
Is this bug a regression?: ---
Last known good build:


Attachments
Testcase showing the issue (7.31 MB, application/zip)
2015-09-04 15:49 UTC, Jacob
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
VERIFIED FIXED

Description Jacob 2015-09-02 02:33:15 UTC
Steps to reproduce:

1: Create a new Xamarin Forms App from Xamarin Studio or VS.

2: Create a TabbedPage with at least two child ContentPages

3: One of the child ContentPages should have a Listview as Content. The Listview should implement Pull-to-Refresh.

4: Make the Pull-to-Refresh Command a long running Task, such as await Task.Delay(30000);

5: Run the app, go the tabbed page with the Listview and Pull to refresh. While refreshing, go to another tab and the navigate back to the tab with the refreshing Listview. 

Expected: The listview ActivityIndicator which shows that the Task is still running, should be spinning.

Actual: The listview ActivityIndicator is not spinning around.


So far i have only tested on iOS but it might be the case on other platforms too.
Comment 1 Jacob 2015-09-02 05:15:06 UTC
After some additional testing it seems to be the same problem on Android.
Comment 2 Parmendra Kumar 2015-09-04 12:38:03 UTC
I have tried to reproduce this issue but I am not able to reproduce this it.

Could you please provide me sample project? so that I can reproduce this issue at my end.

Thanks..!
Comment 3 Jacob 2015-09-04 15:49:39 UTC
Created attachment 12764 [details]
Testcase showing the issue

Steps to reproduce

1 Launch App on either iOS or Android emulator or device

2 Go to page 2, pull to refresh (page 2 Content is a Listview)

3 Go to page 1, and then go back to page 2, the activity indicator for the Listview is stuck and no longer animating (obs. Listview will refresh for 10 seconds)
Comment 4 Jacob 2015-10-09 04:13:31 UTC
Can anyone else confirm this using the provided example code?
Comment 6 Samantha Houts [MSFT] 2016-08-02 21:57:34 UTC
Should be fixed in 2.3.2-pre1. Thank you!
Comment 7 Parmendra Kumar 2016-08-04 14:56:04 UTC
@Samantha, I have checked this issue with Xamarin.Forms 2.3.2.118-pre1 and observed that this issue is working fine on iOS and on Android the activity indicator no longer visible after go back to page 2.

Screencast: http://www.screencast.com/t/h6X4kuNA

Hence reopened this issue with respect to Android.

Thanks.
Comment 8 Samantha Houts [MSFT] 2016-08-17 16:45:09 UTC
Should be fixed in 2.3.2-pre2
Comment 9 Giorgos Papadakis 2016-09-14 12:04:21 UTC
I tested on the stable 2.3.2 and activity indicator is always shown if a listview is on the first navigation page. If i go away and back it works just fine
Comment 10 Parmendra Kumar 2016-09-14 12:53:45 UTC
I have checked this issue with latest Forms stable 2.3.2.127 and observed that this issue is working fine.

Hence closing this issue.