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
Post a Comment