New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ClassCastException #75

Closed
Rainer-Lang opened this Issue Sep 29, 2017 · 7 comments

Comments

Projects
None yet
4 participants
@Rainer-Lang
Contributor

Rainer-Lang commented Sep 29, 2017

java.lang.ClassCastException: MY_PACKAGE.GlideRequests cannot be cast to com.esafirm.imagepicker.features.imageloader.GlideRequests
at com.esafirm.imagepicker.features.imageloader.GlideApp.with(GlideApp.java:73)
at com.esafirm.imagepicker.features.imageloader.DefaultImageLoader.loadImage(DefaultImageLoader.java:12)
at com.esafirm.imagepicker.adapter.FolderPickerAdapter.onBindViewHolder(FolderPickerAdapter.java:40)
at com.esafirm.imagepicker.adapter.FolderPickerAdapter.onBindViewHolder(FolderPickerAdapter.java:19)
at android.support.v7.widget.RecyclerView$Adapter.onBindViewHolder(RecyclerView.java:6482)
@Rainer-Lang

This comment has been minimized.

Contributor

Rainer-Lang commented Sep 29, 2017

Maybe this is related: bumptech/glide#2393

@esafirm

This comment has been minimized.

Owner

esafirm commented Oct 1, 2017

@Rainer-Lang will check on it. Hacktoberfest materila? 😄

@bvklimov

This comment has been minimized.

bvklimov commented Oct 12, 2017

Hi! Facing with the same issue, cannot register http client in GlideModule for my purposes, because of image-picker extends AppGlideModule, and not LibraryGlideModule, I think.

@esafirm

This comment has been minimized.

Owner

esafirm commented Nov 13, 2017

@bvklimov so i think changing the library glide module name will solve the issue right? Will look into it in the weekend!

@cheetahdeliverys

This comment has been minimized.

cheetahdeliverys commented Nov 21, 2017

I have the same problem, I think it is because of new version of glide added to my project, some of its methods and syntax to use them become different, please solve it thanks a lot

@esafirm

This comment has been minimized.

Owner

esafirm commented Nov 21, 2017

Can you please try this version -> https://github.com/esafirm/android-image-picker/releases/tag/1.10.0-beta1

BTW you should consider using implementation rather than compile if you still using Glide v3 in your project

@esafirm

This comment has been minimized.

Owner

esafirm commented Feb 14, 2018

Closing this issue due inactivity. Please don't hesitate to re-open

@esafirm esafirm closed this Feb 14, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment