We create a way to show the details of a CollectedItem from the ListView.
In the Xaml, we use ugly code behind - sorry, but I messed up my Xaml behavior!
We add a DetailsViewModel and DetailView, using some new ValueConverters along the way.
We also extend our Collection service in order to allow items to be deleted - responding to a DeleteCommand.
Here's the video:
The source is at: https://github.com/slodge/NPlus1DaysOfMvvmCross/tree/master/N-15-CollectABull-Part4
Previously in N+1:
- N=0 - a first application - http://slodge.blogspot.co.uk/2013/04/n0-first-mvvmcross-application-n1-days.html
- N=1 - tip calc - including the Android Designer and using IoC -http://slodge.blogspot.com/2013/04/n1-tipcalc-second-example-adding-ioc.html
- N=2 - Kittens - lists and tables - N=2: Lists and Kittens (N+1 days of MvvmCross)
- N=3 - Kitten Cells on iPhone - http://slodge.blogspot.co.uk/2013/04/n3-kitten-cells-on-iphone-n1-days-of.html
- N=4 - ValueConverters - http://slodge.blogspot.co.uk/2013/04/n4-valueconverters-n1-days-of-mvvmcross.html
- N=5 - ICommand and Multiple Pages - http://slodge.blogspot.co.uk/2013/04/n5-some-first-icommands-and-multiple.html
- N=6 - Books over the Network - http://slodge.blogspot.co.uk/2013/05/n6-books-over-network-n1-days-of.html
- N=7 - Books++ - a little UI refinement -http://slodge.blogspot.co.uk/2013/05/n7-adding-some-refinements-to-books-n1.html
- N=8 - Location, Location, Location - http://slodge.blogspot.co.uk/2013/05/n8-location-location-location-n1-days.html
- N=9 - Messenger - http://slodge.blogspot.co.uk/2013/05/n9-getting-message-n1-days-of-mvvmcross.html
- N=10 - SQLite - http://slodge.blogspot.co.uk/2013/05/n10-sqlite-persistent-data-storage-n1.html
- N=11 - iOS CollectionViews - http://slodge.blogspot.co.uk/2013/05/n11-collectionview-n1-days-of-mvvmcross.html
- Collect-A-Bull
- N=12 - PCL, SQLite and a first UI - http://slodge.blogspot.co.uk/2013/05/n12-collect-bull-full-app-part-1-n1.html
- N=13 - Some small improvements - http://slodge.blogspot.co.uk/2013/05/n13-couple-of-small-collect-bull.html
- N=14 - Adding PictureChooser and File - http://slodge.blogspot.co.uk/2013/05/n14-adding-picturechooser-and-file.html
No comments:
Post a Comment