Pull to refresh for GridView in Android
Now I'm trying to go with Johan Nilsson library for GridView. He only implemented for ListView so I have to modify PullToRefreshListView JAVA file.
There I have extends GridView instead of ListView (Line 24). Then it will give me a error on Line 109 by saying addHeaderView(mRefreshView); is not recognized and change it as addView() But addView() methods also give me run time errors.
I am going with Johan Nilsson library, because it gives me the opportunity to add some more form widgets to my Activity and easily customize the design rather than the other library.
This is what your looking for
Works for all AbsListView. I've implemented both ListView and GridView.
GridView doesn't support HeaderView. But Google implemented their own GridView, they use it only for internal purposes. This can solve your problem HeaderView