java.lang.RuntimeException:
at android.graphics.BaseCanvas.throwIfCannotDraw (BaseCanvas.java:66)
at android.graphics.RecordingCanvas.throwIfCannotDraw (RecordingCanvas.java:277)
at android.graphics.BaseRecordingCanvas.drawBitmap (BaseRecordingCanvas.java:88)
at android.graphics.drawable.BitmapDrawable.draw (BitmapDrawable.java:548)
at android.widget.ImageView.onDraw (ImageView.java:1436)
at android.view.View.draw (View.java:22350)
at android.view.View.updateDisplayListIfDirty (View.java:21226)
at android.view.View.draw (View.java:22081)
at android.view.ViewGroup.drawChild (ViewGroup.java:4516)
at android.view.ViewGroup.dispatchDraw (ViewGroup.java:4277)
at com.facebook.shimmer.ShimmerFrameLayout.dispatchDraw (ShimmerFrameLayout.java:157)
at android.view.View.draw (View.java:22353)
at android.view.View.updateDisplayListIfDirty (View.java:21226)
at android.view.View.draw (View.java:22081)
at android.view.ViewGroup.drawChild (ViewGroup.java:4516)
at android.view.ViewGroup.dispatchDraw (ViewGroup.java:4277)
at android.view.View.updateDisplayListIfDirty (View.java:21217)
at android.view.View.draw (View.java:22081)
at android.view.ViewGroup.drawChild (ViewGroup.java:4516)
at android.view.ViewGroup.dispatchDraw (ViewGroup.java:4277)
at android.view.View.updateDisplayListIfDirty (View.java:21217)
at android.view.View.draw (View.java:22081)
at android.view.ViewGroup.drawChild (ViewGroup.java:4516)
at android.view.ViewGroup.dispatchDraw (ViewGroup.java:4277)
at android.view.View.updateDisplayListIfDirty (View.java:21217)
at android.view.View.draw (View.java:22081)
at android.view.ViewGroup.drawChild (ViewGroup.java:4516)
at android.view.ViewGroup.dispatchDraw (ViewGroup.java:4277)
at android.view.View.draw (View.java:22353)
at android.widget.ScrollView.draw (ScrollView.java:1833)
at android.view.View.updateDisplayListIfDirty (View.java:21226)
at android.view.View.draw (View.java:22081)
at android.view.ViewGroup.drawChild (ViewGroup.java:4516)
at android.view.ViewGroup.dispatchDraw (ViewGroup.java:4277)
at android.view.View.draw (View.java:22353)
at android.view.View.updateDisplayListIfDirty (View.java:21226)
at android.view.View.draw (View.java:22081)
at android.view.ViewGroup.drawChild (ViewGroup.java:4516)
at android.view.ViewGroup.dispatchDraw (ViewGroup.java:4277)
at android.view.View.updateDisplayListIfDirty (View.java:21217)
at android.view.View.draw (View.java:22081)
at android.view.ViewGroup.drawChild (ViewGroup.java:4516)
at android.view.ViewGroup.dispatchDraw (ViewGroup.java:4277)
at android.view.View.draw (View.java:22353)
at android.view.View.updateDisplayListIfDirty (View.java:21226)
at android.view.View.draw (View.java:22081)
at android.view.ViewGroup.drawChild (ViewGroup.java:4516)
at android.view.ViewGroup.dispatchDraw (ViewGroup.java:4277)
at android.view.View.updateDisplayListIfDirty (View.java:21217)
at android.view.View.draw (View.java:22081)
at android.view.ViewGroup.drawChild (ViewGroup.java:4516)
at android.view.ViewGroup.dispatchDraw (ViewGroup.java:4277)
at android.view.View.updateDisplayListIfDirty (View.java:21217)
at android.view.View.draw (View.java:22081)
at android.view.ViewGroup.drawChild (ViewGroup.java:4516)
at android.view.ViewGroup.dispatchDraw (ViewGroup.java:4277)
at android.view.View.updateDisplayListIfDirty (View.java:21217)
at android.view.View.draw (View.java:22081)
at android.view.ViewGroup.drawChild (ViewGroup.java:4516)
at android.view.ViewGroup.dispatchDraw (ViewGroup.java:4277)
at android.view.View.updateDisplayListIfDirty (View.java:21217)
at android.view.View.draw (View.java:22081)
at android.view.ViewGroup.drawChild (ViewGroup.java:4516)
at android.view.ViewGroup.dispatchDraw (ViewGroup.java:4277)
at android.view.View.draw (View.java:22353)
at com.android.internal.policy.DecorView.draw (DecorView.java:806)
at android.view.View.updateDisplayListIfDirty (View.java:21226)
at android.view.ThreadedRenderer.updateViewTreeDisplayList (ThreadedRenderer.java:559)
at android.view.ThreadedRenderer.updateRootDisplayList (ThreadedRenderer.java:565)
at android.view.ThreadedRenderer.draw (ThreadedRenderer.java:642)
at android.view.ViewRootImpl.draw (ViewRootImpl.java:4106)
at android.view.ViewRootImpl.performDraw (ViewRootImpl.java:3833)
at android.view.ViewRootImpl.performTraversals (ViewRootImpl.java:3104)
at android.view.ViewRootImpl.doTraversal (ViewRootImpl.java:1948)
at android.view.ViewRootImpl$TraversalRunnable.run (ViewRootImpl.java:8177)
at android.view.Choreographer$CallbackRecord.run (Choreographer.java:972)
at android.view.Choreographer.doCallbacks (Choreographer.java:796)
at android.view.Choreographer.doFrame (Choreographer.java:731)
at android.view.Choreographer$FrameDisplayEventReceiver.run (Choreographer.java:957)
at android.os.Handler.handleCallback (Handler.java:938)
at android.os.Handler.dispatchMessage (Handler.java:99)
at android.os.Looper.loop (Looper.java:223)
at android.app.ActivityThread.main (ActivityThread.java:7660)
at java.lang.reflect.Method.invoke (Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:592)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:947)
This exception is coming from something in your layout, not from this library. I would check and see if the bitmaps your ImageView is trying to draw have already been recycled.
java.lang.RuntimeException: at android.graphics.BaseCanvas.throwIfCannotDraw (BaseCanvas.java:66) at android.graphics.RecordingCanvas.throwIfCannotDraw (RecordingCanvas.java:277) at android.graphics.BaseRecordingCanvas.drawBitmap (BaseRecordingCanvas.java:88) at android.graphics.drawable.BitmapDrawable.draw (BitmapDrawable.java:548) at android.widget.ImageView.onDraw (ImageView.java:1436) at android.view.View.draw (View.java:22350) at android.view.View.updateDisplayListIfDirty (View.java:21226) at android.view.View.draw (View.java:22081) at android.view.ViewGroup.drawChild (ViewGroup.java:4516) at android.view.ViewGroup.dispatchDraw (ViewGroup.java:4277) at com.facebook.shimmer.ShimmerFrameLayout.dispatchDraw (ShimmerFrameLayout.java:157) at android.view.View.draw (View.java:22353) at android.view.View.updateDisplayListIfDirty (View.java:21226) at android.view.View.draw (View.java:22081) at android.view.ViewGroup.drawChild (ViewGroup.java:4516) at android.view.ViewGroup.dispatchDraw (ViewGroup.java:4277) at android.view.View.updateDisplayListIfDirty (View.java:21217) at android.view.View.draw (View.java:22081) at android.view.ViewGroup.drawChild (ViewGroup.java:4516) at android.view.ViewGroup.dispatchDraw (ViewGroup.java:4277) at android.view.View.updateDisplayListIfDirty (View.java:21217) at android.view.View.draw (View.java:22081) at android.view.ViewGroup.drawChild (ViewGroup.java:4516) at android.view.ViewGroup.dispatchDraw (ViewGroup.java:4277) at android.view.View.updateDisplayListIfDirty (View.java:21217) at android.view.View.draw (View.java:22081) at android.view.ViewGroup.drawChild (ViewGroup.java:4516) at android.view.ViewGroup.dispatchDraw (ViewGroup.java:4277) at android.view.View.draw (View.java:22353) at android.widget.ScrollView.draw (ScrollView.java:1833) at android.view.View.updateDisplayListIfDirty (View.java:21226) at android.view.View.draw (View.java:22081) at android.view.ViewGroup.drawChild (ViewGroup.java:4516) at android.view.ViewGroup.dispatchDraw (ViewGroup.java:4277) at android.view.View.draw (View.java:22353) at android.view.View.updateDisplayListIfDirty (View.java:21226) at android.view.View.draw (View.java:22081) at android.view.ViewGroup.drawChild (ViewGroup.java:4516) at android.view.ViewGroup.dispatchDraw (ViewGroup.java:4277) at android.view.View.updateDisplayListIfDirty (View.java:21217) at android.view.View.draw (View.java:22081) at android.view.ViewGroup.drawChild (ViewGroup.java:4516) at android.view.ViewGroup.dispatchDraw (ViewGroup.java:4277) at android.view.View.draw (View.java:22353) at android.view.View.updateDisplayListIfDirty (View.java:21226) at android.view.View.draw (View.java:22081) at android.view.ViewGroup.drawChild (ViewGroup.java:4516) at android.view.ViewGroup.dispatchDraw (ViewGroup.java:4277) at android.view.View.updateDisplayListIfDirty (View.java:21217) at android.view.View.draw (View.java:22081) at android.view.ViewGroup.drawChild (ViewGroup.java:4516) at android.view.ViewGroup.dispatchDraw (ViewGroup.java:4277) at android.view.View.updateDisplayListIfDirty (View.java:21217) at android.view.View.draw (View.java:22081) at android.view.ViewGroup.drawChild (ViewGroup.java:4516) at android.view.ViewGroup.dispatchDraw (ViewGroup.java:4277) at android.view.View.updateDisplayListIfDirty (View.java:21217) at android.view.View.draw (View.java:22081) at android.view.ViewGroup.drawChild (ViewGroup.java:4516) at android.view.ViewGroup.dispatchDraw (ViewGroup.java:4277) at android.view.View.updateDisplayListIfDirty (View.java:21217) at android.view.View.draw (View.java:22081) at android.view.ViewGroup.drawChild (ViewGroup.java:4516) at android.view.ViewGroup.dispatchDraw (ViewGroup.java:4277) at android.view.View.draw (View.java:22353) at com.android.internal.policy.DecorView.draw (DecorView.java:806) at android.view.View.updateDisplayListIfDirty (View.java:21226) at android.view.ThreadedRenderer.updateViewTreeDisplayList (ThreadedRenderer.java:559) at android.view.ThreadedRenderer.updateRootDisplayList (ThreadedRenderer.java:565) at android.view.ThreadedRenderer.draw (ThreadedRenderer.java:642) at android.view.ViewRootImpl.draw (ViewRootImpl.java:4106) at android.view.ViewRootImpl.performDraw (ViewRootImpl.java:3833) at android.view.ViewRootImpl.performTraversals (ViewRootImpl.java:3104) at android.view.ViewRootImpl.doTraversal (ViewRootImpl.java:1948) at android.view.ViewRootImpl$TraversalRunnable.run (ViewRootImpl.java:8177) at android.view.Choreographer$CallbackRecord.run (Choreographer.java:972) at android.view.Choreographer.doCallbacks (Choreographer.java:796) at android.view.Choreographer.doFrame (Choreographer.java:731) at android.view.Choreographer$FrameDisplayEventReceiver.run (Choreographer.java:957) at android.os.Handler.handleCallback (Handler.java:938) at android.os.Handler.dispatchMessage (Handler.java:99) at android.os.Looper.loop (Looper.java:223) at android.app.ActivityThread.main (ActivityThread.java:7660) at java.lang.reflect.Method.invoke (Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:592) at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:947)