You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
public class FrescoImageLoader implements ImageLoader { @OverRide
public void displayImage(Context context, String path, ImageView imageView) {
File file = new File(path);
Uri uri =Uri.fromFile(file);
SimpleDraweeView draweeView = (SimpleDraweeView) imageView;
draweeView.setImageURI(uri);
}
}
//java.lang.ClassCastException: android.widget.ImageView cannot be cast to com.facebook.drawee.view.SimpleDraweeView
The text was updated successfully, but these errors were encountered:
public class FrescoImageLoader implements ImageLoader {
@OverRide
public void displayImage(Context context, String path, ImageView imageView) {
File file = new File(path);
Uri uri =Uri.fromFile(file);
SimpleDraweeView draweeView = (SimpleDraweeView) imageView;
draweeView.setImageURI(uri);
}
}
//java.lang.ClassCastException: android.widget.ImageView cannot be cast to com.facebook.drawee.view.SimpleDraweeView
The text was updated successfully, but these errors were encountered: