Added nested scrolling behavior to the PullToRefreshView which works on complicated layouts and copies behavior of a standard SwipeRefreshLayout (on scroll down when reaches top of the screen it starts opening layout animation).
Animation logic moved to a separate method to avoid repetitive code and improve readability.
Added nested scrolling behavior to the PullToRefreshView which works on complicated layouts and copies behavior of a standard SwipeRefreshLayout (on scroll down when reaches top of the screen it starts opening layout animation).
Animation logic moved to a separate method to avoid repetitive code and improve readability.