SkeletonLayout icon indicating copy to clipboard operation
SkeletonLayout copied to clipboard

Toggle skeleton with delay

Open Faltenreich opened this issue 5 years ago • 0 comments

showSkeleton() and showOriginal() could feature an additional parameter to support a delay before toggling the Skeleton. The use case for this was delivered by KennyGoers:

"When I call skeleton view to show the skeleton and the call I make to fetch data returns immediately or quickly the skeleton flashes in quickly and returns to a data view. Since the transition is so quick it seems distracting more that useful, so a delay would leave the view blank if it was a very quick showSkeleton/showOriginal cycle."

Faltenreich avatar Jun 20 '19 10:06 Faltenreich