-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does not work in all table cells #541
Comments
try this method with SkeletonTableViewDataSource protocol |
Sorry, but it didn't help me |
Simulator.Screen.Recording.-.iPhone.14.Pro.Max.-.2023-06-26.at.12.38.59.movI have this result. I don't use hideSkeleton() after finished load. I use skeleton for special view in cell, in all cell on this screen and painted them so you can see what they are. They are red and green color. When I open screen in first time, I see only one skeleton, but if don't hide skeleton after load, we see other skeleton and if exit from screen and back again we see normal work skeleton. How fix it, can you help me? |
Брат, я прочитал твой текст и посмотрел видео которое ты скинул и ничего не понял. Объясни на русском) |
Simulator.Screen.Recording.-.iPhone.14.Pro.Max.-.2023-06-26.at.13.11.01.movВ общем, проблема такая. Чтобы сделать скелетон, я делаю отдельную модель для таблицы именно для скелетона. После загрузки всей инфы я перезагружаю таблицу использую уже нормальную модель и загружается все остальная информация. |
а ты попробовал временно удалить Skeleton? вдруг Skeleton тут не причем |
Да, без скелетона норм. Тут же проблема в том, что в остальных ячейках не показывается скелетон, а только в одной. Если я закомментирую скелетоны во всех ячейках кроме одной, то в этой будет показываться, а если включить все обратно, то только в одной |
When running multiple loaders simultaneously, make sure they are all called on the main thread. DispatchQueue.main.async { view.showAnimatedGradientSkeleton() } @Juanpe, a call to Reference of the answer: |
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
I have tableView with different cell in different sections
I need create skeletonView like that
But when i use skeletonView on this screen, i get this result
Steps to reproduce:
Please replace this with the steps to reproduce the behavior.
I add dataForUI for skeleton and after create table
Code in cell
And the same code in every cell, but when I call initializeWithSkeleton in every cell, I have skeleton for only one cell, but if I commented "initializeWithSkeleton" for all cell and leave for one, I have skeleton in this cell
In other screen It's working fine, but on this screen doesn't. I don't why, any help me, pls?
SkeletonView Environment:
SkeletonView version:
1.30.4
Xcode version:
Version 14.2 (14C18)
Swift version:
Swift version 5.7.2
The text was updated successfully, but these errors were encountered: