lopspower / CircularImageView

Create circular ImageView in Android in the simplest way possible
Apache License 2.0
1.95k stars 413 forks source link

CircularImageView suddenly not displayed on some layout #94

Closed kareemzok closed 5 years ago

kareemzok commented 6 years ago

Hello ,

CircularImageView is not displayed on some of the activity having the same layout using adapter. How come it was working then it stopped? and in other activity the same CircularImageView is working Any advice plz?

kareemzok commented 6 years ago

if no one has an answer or can help I will move to another library.

NayanaRBhoj commented 6 years ago

@kareemzok did you found any solution for this?

kareemzok commented 6 years ago

hello @NayanaRBhoj, yes I did find but I moved to Fresco library. Solution was in android:hardwareAccelerated="false"in manifest file. The value was truechanged it to false it worked perfectly

nishkul commented 5 years ago

I have solved is this issue by adding this line after setting image using glide mCircularIV.setDrawingCacheEnabled(true) now is working fine or try below line mCircularIV.setLayerType(View.LAYER_TYPE_SOFTWARE, null);