[mono-android] How to implement ViewPager from compatibility package .jar

Jonathan Pryor jonp at xamarin.com
Mon Jan 23 21:24:31 UTC 2012


On Jan 21, 2012, at 7:36 AM, k0ng wrote:
> I want to use ViewPager  as demo in this website
> 
> http://geekyouup.blogspot.com/2011/07/viewpager-example-from-paug.html

Right now, it won't be easy, as you need to manually bind the Java types.

In a future release, we'll be providing a tool to simplify the binding process.

If you really want to hand-bind them now, see:

	The base Java class: https://github.com/xamarin/monodroid-samples/blob/master/SanityTests/Adder.java
	The C# glue code for inheritance: https://github.com/xamarin/monodroid-samples/blob/master/SanityTests/ManagedAdder.cs

 - Jon



More information about the Monodroid mailing list