The PullToRefresh library is a Library Project. These Library Projects need to be imported projects into the workspace, and then your app must identify the project as a library to reference it.
Here's the instructions from the quickblox website on how to do this.
Here is another post explaining how to import these projects into your workspace: How to add a Library Project to a android project?