I was just wondering if the functionality of or similar to ExpandableListViews was lurking within the Mvvmmcross framework or is this type of control not applicable with multi platform requirements. The functionality found at http://deapsquatter.blogspot.com/2013/02/mvvmcrossdeapextensions.html is cool but not sure if expand/collapse functionality is available.
Any pointers/sample code would be appreciated
This is about it (I placed it into Deepsqautter's code). After I tidied up the code, I will place it somewhere handy, or maybe it's a usefull addition to mvvmcross itself...
The view:
}
and the adapter
}
And example XAML code:
And then even some data example (pseudo code):
This is my MvxBindingAttributes.xml
BTW: I have only one project left in MvvmCross, the rest has been converted to Xamarin.Forms or even away from Xamarin. So code is not updated anymore.
To my knowledge no-one has done this before
But you can convert an existing Android control into a bound control fairly simply - you've seen exactly how it's done in @deapsquatter's repo.
To convert an ExpandableListView I would take it one step at a time.
When/if you hit specific issues, then you can always come back here to ask about those issues. But by having 1 and 2 in place first, then you'll have something solid to ask about.
Hope that helps.