Archive for November, 2012
In September 2011 I began a series on Styling Android about ViewPager and Jake Wharton’s ViewPagerIndicator library. This proved to be a very popular series, but the comments on those articles show that there has been some changes in Jake’s library which means that the code in the original articles no longer works with the latest version of the library. In this series we’ll revisit ViewPager and ViewPagerIndicator, get the old example code working with the latest version of the library, and also look at some alternatives.
In the previous article we started wiring up Chris Banes’ excellent Pull to Refresh library. We have got the “pull” part working, but it does not yet perform the “refresh” part of the process. In this article we’ll continue wiring things up, and also look at how we can customise things a little.
On 26th October 2012 I made a presentation about Android Layouts at DroidCon in London. While I was there I took in a great talk by Scott Alexander-Bown titled entitled “Write Less / Do More” in which Scott spoke about some third-party libraries for Android. One of these is Chris Banes‘ Pull-to-Refresh library, and in this article we’ll take a look at this library and see how simple it is to incorporate this in to your app.