Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SwipeRefreshLayout - Pull From Bottom

Is there a way to use SwipeRefreshLayout to refresh ListView when it's pulled from bottom?

I created pull from top, but I would also need pull from bottom. There are many tutorials on how to create pull from top, but I couldn't find any tutorials for pull from bottom?

like image 592
user3486440 Avatar asked Jul 21 '14 14:07

user3486440


1 Answers

SwipeRefreshLayout from Android Support Library version 21 does not support pull from bottom. I have made modification SwipeRefreshLayoutBottom with is based on original SwipeRefreshLayout code. It is fully based on original Google code with just inversion of coordinates and overridden implementation of canChildScrollDown method. All modification are marked as TODO.

Bitbucker repository

like image 75
AndreyICE Avatar answered Oct 05 '22 04:10

AndreyICE