Skip to content

Instantly share code, notes, and snippets.

@jonpryor
Created March 20, 2013 02:15
Show Gist options
  • Save jonpryor/5201795 to your computer and use it in GitHub Desktop.
Save jonpryor/5201795 to your computer and use it in GitHub Desktop.
// To allow this project to build: https://dl.dropbox.com/u/15227809/Xamarin/HZLVBinding.zip
// Add a new file to the HZLVBinding project with these contents:
using Android.Runtime;
namespace Com.Devsmart.Android.UI {
partial class HorizontalListView {
protected override Java.Lang.Object RawAdapter {
get {return Adapter.JavaCast<Java.Lang.Object>();}
set {Adapter = value.JavaCast<global::Android.Widget.IListAdapter>();}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment