java.lang.ClassCastException: android.graphics.drawable.BitmapDrawable cannot be cast to android.graphics.drawable.GradientDrawable

GitHub | createS0ftware | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Error on setting handle colour

    GitHub | 7 months ago | createS0ftware
    java.lang.ClassCastException: android.graphics.drawable.BitmapDrawable cannot be cast to android.graphics.drawable.GradientDrawable

    Root Cause Analysis

    1. java.lang.ClassCastException

      android.graphics.drawable.BitmapDrawable cannot be cast to android.graphics.drawable.GradientDrawable

      at com.turingtechnologies.materialscrollbar.Indicator.linkToScrollBar()
    2. com.turingtechnologies.materialscrollbar
      MaterialScrollBar$2.onLayoutChange
      1. com.turingtechnologies.materialscrollbar.Indicator.linkToScrollBar(Indicator.java:74)
      2. com.turingtechnologies.materialscrollbar.MaterialScrollBar$2.onLayoutChange(MaterialScrollBar.java:547)
      2 frames