Multiple Displays – Part 4

In the previous article we got our app (which shows the characteristics of our displays) backwardly compatibile, but it still lacks the ability to handle connection and disconnection of an external display while the MainActivity is running. In this article we’ll add the ability to do precisely that.

Multiple Displays – Part 2

In the previous article we put together a simple utility which shows the display characteristics, and showed this working on various devices. However the main point of this series is to cover the use of multiple displays, os in this part we’ll begin looking at that functionality.

Multiple Displays – Part 1

At the time of writing, Android 4.2 has just been released and this contains an interesting new feature which enables us to independently control multiple displays. In this series of articles we’ll look at the new APIs and see how we can control different displays independently.

ViewPager Redux – Part 2

In the previous article we revisited the ViewPager code from an earlier series, and brought it up-to-date to use the latest version of Jake Wharton’s ViewPagerIndicator library. In this article we’ll look at an alternative to Jake’s library.

ViewPager Redux – Part 1

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…

Pull to Refresh – Part 2

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.

Pull to Refresh – Part 1

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…