MvvmCross: Android Application attribute

一个人想着一个人 提交于 2019-12-11 06:39:33

问题


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



来源:https://stackoverflow.com/questions/16642871/mvvmcross-android-application-attribute

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!