Pull To Refresh

Pull To Refresh has been independent project: https://github.com/liaohuqiu/android-Ultra-Pull-To-Refresh.

It's the most powerful Pull To Refresh librasy, and vesy easy to use.

GridViewWithHeaderAndFooter

It also has been an independent project. You can addFooterView() and addHeaderView() for GridView: https://github.com/liaohuqiu/android-GridViewWithHeaderAndFooter