public void SetImage(Activity mContext, ImageView GelenView, string URLL, bool isCenterInsade = false, int PlaceHolderAndErrorImages = Resource.Mipmap.logononbg, bool setResize = false) { var Me = DataBase.MEMBER_DATA_GETIR()[0]; try { //val file: File = Glide.with(activity).asFile().load(url).submit().get() //val path: String = file.path RequestOptions options = new RequestOptions() .InvokeDiskCacheStrategy(Com.Bumptech.Glide.Load.Engine.DiskCacheStrategy.All) .CenterCrop() .Placeholder(PlaceHolderAndErrorImages) .Error(PlaceHolderAndErrorImages); if (setResize) { options.Override(500, 500); } if (isCenterInsade) { options.CenterInside(); } mContext.RunOnUiThread(delegate() { Glide.With(mContext) .Load("https://contentoapp.co/app/" + URLL) .Apply(options).Into(GelenView); }); } catch { } }