While using your extended variation of SwipeRefreshLayout, I run into the bug. While pulling from bottom (using Direction.BOTH) the circle indicator with arrow moved out of the screen pretty fast. I compared your code with SwipeRefreshLayoutBottom and noticed, that the offset is calculated a bit diffrent way. I brought it back, how it was at initial version and everything worked. Correct me, if I missed something.
While using your extended variation of SwipeRefreshLayout, I run into the bug. While pulling from bottom (using Direction.BOTH) the circle indicator with arrow moved out of the screen pretty fast. I compared your code with SwipeRefreshLayoutBottom and noticed, that the offset is calculated a bit diffrent way. I brought it back, how it was at initial version and everything worked. Correct me, if I missed something.