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
Collection View not showing skeleton for cells #71
Comments
Please help me with this, it works on the UItableView if i set the EstimatedRowHeight but since UICollectionView does not have any such property i couldn't resolve it. I also tried the sizeForItem method but it doesnt work also. |
wow ! i just wasted a couple of hours for this and a dispatch of 0.1 sec resolved the issue. |
Doesn't work for me: That's how my request to show gradient looks like: |
@samsidd Hey I seem to have the same issue as you used to have. I wonder what does it mean by a dispatch of 0.1 sec? |
I have the same problem |
+1 |
The solution for me was to add in file |
Hi, this issue should be solved in latest version (1.3). |
still not fixed using 1.4 |
still not fixed |
You can achieve with
|
Still not fixed |
@Juanpe please fix this ASAP. Temporarly I use saxahan's code to make it working. @saxahan thanks :) |
still doesn't work |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Doesn't work in tableviewcell too. |
🙏🏼 Please check if it already exists other issue related with yours.
What did you do?
I am trying to show skeleton in collection view , i added an image view and a label to a cell set them both skeletonable and also set the cell to skeletonable and in viewDidLoad called showAnimatedGradientSkeleton() on collectionView.
What did you expect to happen?
I thought it should show the collectionView cells as skeleton.
What happened instead?
but it shows the whole collection view as skeleton and the cells dont appear, basically i just have a gray view with a gradient animation showing up.
Steps to reproduce the behavior
Add a collection view , add a cell to it , add imageview and label to cell set isSkeletonable to true
for all of them. Implement the protocol and then run
SkeletonView Environment
SkeletonView version: 1.2.1
Xcode version: 9.3.1
Swift version: 4.0
The text was updated successfully, but these errors were encountered: