Re-enabling skeleton loading
opened this issue · comments
Is there a way to start the loading again after the initial animation? I would like to implement a swipe refresh layout. The isAnimationPlay field is not set to default after the animation finishes.
you can do like this
gradientXmlAdapter.measureHeightRecyclerViewAndItem(recyclerView, R.layout.item_gradient_xml);
gradientXmlAdapter.reloadSkeleton();
public void reloadSkeleton() {
this.items.clear();
skeletonConfig.setSkeletonIsOn(true);
notifyDataSetChanged();
}