Example #1
0
 private void ChargeInit(Context context)
 {
     if (Glide.Get(context) == null)
     {
         throw new ExceptionInInitializerError(LoadEngine.INITIALIZE_ENGINE_ERROR);
     }
 }
Example #2
0
 public override void DisplayCameraItem(ImageView imageView)
 {
     ChargeInit(imageView.Context);
     Glide.With(imageView.Context).Load(img_camera).CenterCrop().Error(img_camera).Placeholder(img_camera).DontAnimate().Into(imageView);
 }
Example #3
0
 public override void DisplayImage(string path, ImageView imageView)
 {
     ChargeInit(imageView.Context);
     Glide.With(imageView.Context).Load(path).CenterCrop().Error(img_loading).Placeholder(img_loading).DontAnimate().Into(imageView);
 }