Stuart Lodge just pointed out that I could use an abbreviated namespace so that the full DeapExtenions name does not have to be typed out in your Views. @cheesebaron has a blog post thats explains how to use it http://blog.ostebaronen.dk/2012/12/adding-view-namespace-abbreviations-in.html
I've updated the DeapExtensions to take advantage of this shortcut. Now you can just declare the BindableGroupListView as DeapExt.BindableGroupListView
There, much neater :) Don't forget to the use the DeapExtensions.Binding.Droid.BaseAndroidBindingSetup as your base for your setup class. It simply registers the DeapExt with MvvmCross.
2 comments:
Neater still if you go Swiss: centrastage:MvxBind="ItemsSource SearchedProfiles;ItemClick DeviceSelected" />
Also... wondering whether there should be a GroupClick as well as an ItemClick? ;)
GroupClick definitely - on the todo list (and yes the Swiss syntax is nifty)
Post a Comment