Juanpe / SkeletonView

☠️ An elegant way to show users that something is happening and also prepare them to which contents they are awaiting
MIT License
12.51k stars 1.1k forks source link

How to override or use skeleton view for custom view? #498

Closed chanonly123 closed 1 year ago

chanonly123 commented 2 years ago

Description

Describe your issue here.

What type of issue is this? (place an x in one of the [ ])

Requirements (place an x in each of the [ ])


Bug Report

Filling out the following details about bugs will help us solve your issue sooner.

SkeletonView Environment:

1.29.2 13.3 5.6

I have a custom view which contains few labels and images. I want to show the full view as skeleton view, not individual items.

Juanpe commented 1 year ago

Hi @chanonly123, sorry for the late reply.

You can do it, just setting as skeletonable the custom views and the individual items as NOT skeletonable. Please, refer to the Hierarchy section for more details.

Thanks