SkeletonLayout
SkeletonLayout copied to clipboard
Ability to have a different ViewHolder
internal class SkeletonRecyclerViewHolder(layout: SkeletonLayout) : RecyclerView.ViewHolder(layout)
Is there any alternative to extend/modify this class?
I've ViewBindingViewHolder
class that is failed when using Skeleton
due to ClassCastException cannot cast SkeletonRecyclerViewHolder to ViewBindingViewHolder
The ClassCastException might occur when expecting a custom ViewHolder after calling showSkeleton() due to the whole RecyclerView.Adapter being replaced. Maybe you could provide a sample and explain your goal, so that we can look for a solution together.