I'm trying to use both libraries in my project but I'm getting the following error:
Caused by: java.lang.IllegalStateException: This HeaderTransformer is designed to run on SDK 14+. If using ActionBarSherlock or ActionBarCompat you should use the appropriate provided extra.
I downloaded the library ActionBar-PullToRefresh from here https://github.com/chrisbanes/ActionBar-PullToRefresh and Imported the folder library into my workspace. How do I import the folder extras to this project to get it work??
Im working in eclipse btw.
EDIT:
I copied the folder extras into the project but I get errors in one of the files as shown below:
EDIT 2:
You have to import both projects: The ActionBar-PullToRefresh main project (is the library folder) AND the ActionBar-PullToRefresh for ActionBarSherlock. You must import this folder ActionBar-PullToRefresh/library/extras/actionbarsherlock as Android Project into eclipse. Than you have to add the dependencies to this Project: 1) ActionBar-PullToRefresh (the main library) 2) ActionBarSherlock
To do so, you have to do a right click on the imported project --> Properties --> Android --> Libraries section (add button).
Than you have to add this imported library to your Android App Project