This package gives the ability to inject any AppGlideModule class instance into Glide by C# code.
Instruction:
-
Install nuget package to your Xamarin.Android project:
-
Implement your custom class which will be inherited from AppGlideModule class:
public class MyAppGlideModule : Bumptech.Glide.Module.AppGlideModule { ... }
-
Inject instance of this class during application startup:
Kdd.Glide.AppModuleInjector.GlideAppModuleInjector.Inject(new MyAppGlideModule());
-
Enjoy using it!