Cheesebaron/MonoDroid.HorizontalPager — pull request #1 by ingara (2012-03-12 13:57:07+00:00)
Title: Changed the Init() method to still work when it is called with display=null.

This is useful when trying to declare the pager in xml because the pager will then be constructed with HorizontalPager(Context context, IAttributeArgs attrs) and consequently mDisplay will be null and Init() will throw an exception.
The change is that if Init(null) is called, the class will get the density from Context.Resources.DisplayMetrics.Density.