1

I am trying to use the skeleton loading library(https://github.com/ethanhua/Skeleton) with data binding and for recycleView I am using the collection adapter library(https://github.com/evant/binding-collection-adapter)

Exception:

java.lang.ClassCastException: com.ethanhua.skeleton.SkeletonAdapter cannot be cast to me.tatarka.bindingcollectionadapter2.BindingRecyclerViewAdapter
at me.tatarka.bindingcollectionadapter2.BindingRecyclerViewAdapters.setAdapter(BindingRecyclerViewAdapters.java:19)
at com.coroutinedemo.databinding.FragmentTodoListBindingImpl.executeBindings(FragmentTodoListBindingImpl.java:209)

Please help to get rid of it.

Edit:

Get the Source code here.

Shivang
  • 935
  • 8
  • 18

0 Answers0