- Image taking using the MvxPictureChooserTask
- File read/write using the MvxFileStore
- On-View image display using some value converters
The source code from the end of this step is at https://github.com/slodge/NPlus1DaysOfMvvmCross/tree/master/N-14-CollectABull-Part3
I may have been a bit confusing when I talked about the value converters - sorry about this. The basic concept that I was trying to explain was:
- the WindowsPhone Image control directly supports BitmapImage objects for its Source property
- the WindowsPhone runtime knows how to load http:// urls and embedded app content/resource files into BitmapImage objects
- but it does not know what to do with either byte[] arrays or with isolated storage file paths
- to work around this problem, we provide two converters to do the work
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
No comments:
Post a Comment