@Override
    public boolean canChildScrollUp() {
        if (mSwipeableChildren != null && mSwipeableChildren.length > 0) {
            // Iterate through the scrollable children and check if any of them can not scroll up
            for (View view : mSwipeableChildren) {
                if (view != null && view.isShown() && !canViewScrollUp(view)) {
                    // If the view is shown, and can not scroll upwards, return false and start the
                    // gesture.
                    return false;
                }
            }
        }
        return true;
    }
This method controls when the swipe-to-refresh gesture is triggered. By returning false here
we are signifying that the view is in a state where a refresh gesture can start.

<p>As {@link android.support.v4.widget.SwipeRefreshLayout} only supports one direct child by
default, we need to manually iterate through our swipeable children to see if any are in a
state to trigger the gesture. If so we return false to start the gesture.
SwipeRefreshMultipleViews/Application/src/main/java/com/example/android/swiperefreshmultipleviews/MultiSwipeRefreshLayout.java