When using MvvmCross for Android, where is the actual Application object normally used by Android? This object is not always needed unless you want to customize the tag in the manifest. Mono for Android has a ApplicationAttribute that you can use to decorate the Application class and change themes, icons, etc. How would I do this when using MvvmCross?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
MvvmCross sits on top of Xamarin.Android
So you can customise an MvvmCross Android application in exactly the same way as you customise a normal Xamarin.Android applciation - create an Application override if you need one.
Note also that some application properties can be adjusted through project settings and assembly attributes http://docs.xamarin.com/guides/android/advanced_topics/working_with_androidmanifest.xml