There's a race condition where the content view is not set before the touch events arrive, i.e. the "OnGlobalLayout" gets called after the touch events arrive if you are touching the list view while the screen is still loading/rendering.
public void OnGlobalLayout()
{
...
if (content_view_res_id > 0) {
ContentView = (IPullToRefresharpWrappedView)FindViewById<View>(content_view_res_id);
} else {
ContentView = (IPullToRefresharpWrappedView)GetChildAt(1);
}
Android (Galaxy S4)
Crashed on:
-and-
There's a race condition where the content view is not set before the touch events arrive, i.e. the "OnGlobalLayout" gets called after the touch events arrive if you are touching the list view while the screen is still loading/rendering.