¡@

Home 

2014/10/16 ¤W¤È 08:24:22

android Programming Glossary: slodge

Passing on variables from ViewModel to another View (MVVMCross)

http://stackoverflow.com/questions/10192505/passing-on-variables-from-viewmodel-to-another-view-mvvmcross

and for WP7 after OnNavigatedTo For an example of this take a look at the TwitterSearch example https github.com slodge MvvmCrossTwitterSearch This has a HomeViewModel which calls navigate using private void DoSearch RequestNavigate TwitterViewModel.. Intents. If you want to experiment with navigation using your own custom serialised objects then please see http slodge.blogspot.co.uk 2013 01 navigating between viewmodels by more.html . Also note that if you want to use the anonymous object.. searchTerm SearchText then you will need to make sure that an InternalsVisibleTo attribute is set see https github.com slodge MvvmCrossTwitterSearch blob master TwitterSearch.Core Properties AssemblyInfo.cs assembly InternalsVisibleTo Cirrious.MvvmCross..

MvvmCross Android - Alternative to RelativeSource binding for button command

http://stackoverflow.com/questions/14208203/mvvmcross-android-alternative-to-relativesource-binding-for-button-command

ActionBarSherlock with latest MVVMCross

http://stackoverflow.com/questions/16801728/actionbarsherlock-with-latest-mvvmcross

existing answer here on SO but the process is basically the same two steps with an event layer like https github.com slodge MvvmCross blob v3 Cirrious Cirrious.MvvmCross.Droid.Fragging Fragments EventSource MvxEventSourceFragment.cs a data binding.. Fragments EventSource MvxEventSourceFragment.cs a data binding layer like https github.com slodge MvvmCross blob v3 Cirrious Cirrious.MvvmCross.Droid.Fragging Fragments MvxFragment.cs This same code should allow someone..