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.5k stars 1.1k forks source link

Showing skeleton only on a single sections of a UITableView with multiple sections #536

Open tonistair opened 1 year ago

tonistair commented 1 year ago

Hi everyone,

I'm sorry if some similar question was asked in the past already, I searched the issues but did not find anything helping me unfortunately.

The issue: We are using SkeletonView in our project together with RxSwift and and RXSwiftDataSources and would like to achieve to have the skeleton being shown only on certain sections of a UITableView at a time. Background is, that those sections are filled from data of independent requests being made.

Currently we are only able to apply the skeleton animation to the whole table, but have no idea how to access a certain section to only apply the skeleton animation there.

Has anyone a similar situation solved this?

Thanks a lot!

nahar-kh10 commented 8 months ago

same issue here

tvoyfm commented 8 months ago

Try this solution. https://github.com/Juanpe/SkeletonView/issues/541#issuecomment-1789020267