divide by zero Problem
Closed this issue · 6 comments
TaQuangTien commented
I get this error when using GifImageView with GridView using custom ImageAdapter extends BaseAdapter
12-02 16:06:56.619 15491-15601/? E/AndroidRuntime: FATAL EXCEPTION: Thread-3008
Process: vn.messengerkvtm.gs, PID: 15491
java.lang.ArithmeticException: divide by zero
at com.felipecsl.gifimageview.library.GifDecoder.advance(GifDecoder.java:229)
at com.felipecsl.gifimageview.library.GifImageView.run(GifImageView.java:157)
at java.lang.Thread.run(Thread.java:841)
felipecsl commented
can you also please attach the GIF image that you're using?
TaQuangTien commented
shtil commented
Hmm.. I have this exception too...
luciofm commented
This is the Glide commit that fixed the issue
bumptech/glide@5ce0c11
rafalzawadzki commented
Happens to me too, irregularly.