问题
I need the Java class's name in the Constructor for Android.Content.ComponentName as Xamarin doesn't have an overloaded constructor that takes typeof(ClrType) like it does for some other things.
回答1:
I was able to solve it by doing this: Java.Lang.Class.FromType(typeof(MyClass)).Name
来源:https://stackoverflow.com/questions/37413519/xamarin-android-how-to-get-java-class-name-for-passing-into-componentname