Last month we got an awesome submission from Steve Dunford at Sequence - a ViewPager which could be data-bound for use in MvvmCross.Android - http://slodge.blogspot.co.uk/2013/02/binding-to-androids-horizontal-pager.html
This month, the legend that is @CheeseBaron has taken this Gist further, bug fixed it, extended it and published a sample on a proper GitHub repo
Check it out at https://github.com/Cheesebaron/Cheesebaron.MvvmCross.Bindings - with Xamarin 1.0 dlls included.
The Android View and ViewModel code is so simple and clean - it's gorgeous!
Check it out - https://github.com/Cheesebaron/Cheesebaron.MvvmCross.Bindings/blob/master/Sample.Android.UI/Resources/Layout/Page_SimpleViewPagerView.axml
In fact... it's better than gorgeous... it's awesome!
CheeseBaron - thank you, sir - you are awesome twice over!
I should try it out
ReplyDelete