Forum Cross Platform with Xamarin

Fun and games moving an app to mvvmlight

Hi,

I'm having a problem which I've posted up on SO (http://stackoverflow.com/questions/39669370/xamarin-android-fragment-not-updating-the-ui)

Simply put, as MVVMLight doesn't have a TabActivtiyBase, I've changed the app from using tabs to putting tabs on an action bar which when you click moves to the correct view.

The UI elements are bound to the ViewModel associated with it and when the app fires up, the binding works (so Tab1 shows the correct information as do the other tabs). However, if I go Tab1 > Tab2 > Tab 1, nothing then shows back on Tab1. I've run it through the debugger which shows the information is coming back to from the VM to the View.

The full source can be found here - https://github.com/nodoid/TabTest - only Android has been implemented so far. Any ideas on why I'm only getting the UI to show on the initial inflate and not after?

Posts

Sign In or Register to comment.