Getting Bitmap from Image using Glide in android -


i want bitmap image using glide. doing following -

bitmap chefbitmap = glide.with(myactivity.this) .load(chef_image) .asbitmap() .into(100, 100) .get(); 

it used work previous glide version. not work in gradle - "compile 'com.github.bumptech.glide:glide:4.0.0'"

i want use dependency because latest version.

can me in regard. in advance.

you should add in

dependencies{   compile 'com.github.bumptech.glide:glide:4.0.0'   compile 'com.android.support:support-v4:25.3.1'   annotationprocessor 'com.github.bumptech.glide:compiler:4.0.0' 

also, give permission in manifest.xml


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -