Closed jhurray closed 9 years ago
Sorry, I've kind of been putting off looking at this one. Pull to refresh seems like one of those things that everyone writes themselves, or uses some pre-made library. So I kind of like having some base library to do some of the heavy lifting.
However, the reason I'm hesitant to merge this is that the library is just the framework. There are no actual ready-made UI components included..
JHRefreshControl is an abstract base class, which means there are some functions you need to override. The following methods must be implemented or your app will crash.
I know you have some ones that are built in the example program (thats what the screenshots are, right?) I guess it would be kind of nice to have some pre-made components that a developer could just use if they wanted (and then use the screenshot for it/them). I feel like the screenshots are misleading otherwise.
Thats totally understandable. If I update the library with some customizable classes I will let you know and open another pull request. Feel free to close this.
Abstract base classes for custom PTR controls. Allows you to focus on the animations. Add in one line.