我有一个使用mvvm和xamarin.android的解决方案。 每次我点击视图时,它的视图模型都会重新实例化。 应该这样吗?
是的,这很正常。每次活动实例化时,视图模型也将是实例化的。
我有一个使用mvvm和xamarin.android的解决方案。 每次我点击视图时,它的视图模型都会重新实例化。 应该这样吗?
是的,这很正常。每次活动实例化时,视图模型也将是实例化的。
javascript python java c# php android html jquery c++ css ios sql mysql arrays asp.net json python-3.x ruby-on-rails .net sql-server django objective-c excel regex ruby linux ajax iphone xml vba spring asp.net-mvc database wordpress string postgresql wpf windows xcode bash git oracle list vb.net multithreading eclipse algorithm macos powershell visual-studio image forms numpy scala function api selenium