Answer the question
In order to leave comments, you need to log in
Can't get type through Reflection. A null reference is returned. How to fix?
After executing this line, t does not receive any reference. What am I doing wrong?
The StorageManager is in Mono.Android.dll
( https://developer.xamarin.com/releases/android/xam...
How do I get t to contain a reference to the StorageManager?
Type t = Type.GetType("Android.OS.Storage.StorageManager, Mono.Android");
Answer the question
In order to leave comments, you need to log in
Try to still use AssemblyQualifiedName instead of just the fully qualified type name and assembly name.
To a StorageManager object or a reference to a Type object corresponding to the type of StorageManager?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question