Closed ShaneQi closed 7 years ago
Probably just as to do with item spacing or other flow layout settings?
I tried the same without IGListKit, the issue still exists. It turned out not a issue of IGListKit.
Sorry for mis-reporting. I will close this issue.
Did you manage to find a solution to this problem?
Hacked
iPhone’umdan gönderildi
Filipp Kosenko @.***> şunları yazdı (14 May 2023 ÖS 12:19):
Did you manage to find a solution to this problem?
— Reply to this email directly, view it on GitHubhttps://github.com/Instagram/IGListKit/issues/520#issuecomment-1546852839, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A7KYAEAYWMX2F4IJY7D5RB3XGCPQRANCNFSM4DB4H2BA. You are receiving this because you are subscribed to this thread.Message ID: @.***>
@filippkos @heykomikmi
TBH I don't remember how I worked around it. I think I customized the collectionview flowlayout for the cell to be where I wanted it to be at.
New issue checklist
README
and documentationGeneral information
IGListKit
version: 2.1.0This issue is totally reproducible in demo project with two simple steps:
In file MixedDataViewController.swift:
Change the
itemCount
to1
.In viewDidLoad function of file MixedDataViewController.swift:
Add this snippet of code to set estimated cell size:
Then when run the project and goto Mixed Data view, it will turn out to be like: (The single cell section center aligns the cell, which should be aligned left.)