skydoves/AndroidVeil

VeilRecyclerFrameView need scroll to show the skeleton shimmering effect

indradevelop opened this issue · 0 comments

I used VeilRecyclerFrameView the default is veil() but the shimmering efect need scroll bottom before showing the skeleton

` binding.veilLayoutExplore.setVeilLayout(R.layout.shimmer_tour_explore,4)
binding.veilLayoutExplore.getVeiledRecyclerView().addItemDecoration(VerticalItemDecoration(requireContext().resources.getDimensionPixelOffset(R.dimen.divider)))
binding.veilLayoutExplore.veil()

    binding.veilLayoutExplore.setLayoutManager(LinearLayoutManager(requireContext()))
    binding.veilLayoutExplore.getRecyclerView().addItemDecoration(VerticalItemDecoration(requireContext().resources.getDimensionPixelOffset(R.dimen.divider)))
    binding.veilLayoutExplore.setAdapter(adapter)`