Open karthiciist opened 5 years ago
This part in MessageListActivity.java :
private void setPicture(String pictureUrl, @DrawableRes int placeholder) { Glide.with(getApplicationContext()) .load(StringUtils.isValid(pictureUrl) ? pictureUrl : "") .placeholder(placeholder) .bitmapTransform(new CropCircleTransformation(getApplicationContext())) .into(mPictureView); }
is using placeholder(placeholder) which is available in glide library 3.7.0. This forces to use the older version of glide library.
Newer version of glide dont have placeholder() function.
I am using chat21 with algolia. Algolia is using latest version of glide. This is causing an issue for me.
Please suggest a fix.
I am also facing the same problem.
This part in MessageListActivity.java :
private void setPicture(String pictureUrl, @DrawableRes int placeholder) { Glide.with(getApplicationContext()) .load(StringUtils.isValid(pictureUrl) ? pictureUrl : "") .placeholder(placeholder) .bitmapTransform(new CropCircleTransformation(getApplicationContext())) .into(mPictureView); }
is using placeholder(placeholder) which is available in glide library 3.7.0. This forces to use the older version of glide library.
Newer version of glide dont have placeholder() function.
I am using chat21 with algolia. Algolia is using latest version of glide. This is causing an issue for me.
Please suggest a fix.