c# - MvvmCross RaisePropertyChanged -
in order mvvmcross propertychanged event in universal app had set shouldalwaysraiseinpconuserinterfacethread(false). please explain why so? found method accidentally after 3 hours of investigating why binding not working. once method called works fine.
raisepropertychanged default marshals propertychanged events ui thread. if there's no dispatcher set (e.g in unit tests), event not raised @ all. set
shouldalwaysraiseinpconuserinterfacethread(false); for more details please see this
Comments
Post a Comment