-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Two Section Controllers in One but scroll all the screen #469
Comments
Ok as i understand by searching previous issues, there is this and https://github.com/Instagram/IGListKit/milestone/3 So is this gonna be a feature in 3.0.0 ? @rnystrom |
Hey @kwstasna sorry I didn't come back to this. Yup! We're planning on making nested lists a lot easier w/ a base class that handles a lot of the common setup for you in 3.0.0. We haven't started on this yet, but we will definitely get to it! Have you taken a look at our example of nested adapters? |
Yes I'm trying to make it work but it seems that i'm doing something wrong but i can't figure out what. So i have 3 section controllers.
I've uploaded a demo project here https://www.dropbox.com/s/5i6w2878296tsfo/ig-event%202.zip?dl=0 If you have the time to take a look at the 3rd section controller The expected result from my code is to have the first Section of the collection view a height of 170px and horizontal scrolling and second Section to have vertical scrolling. The demo result show's a large white section with no items and after the white section, there is the second section normal as it has to be. Thanks a lot for your time and for your contribution. To be honest even with the second section only i've seen a drop of the memmory usage than my tableview that i hade before. Really nice work 😄 |
Nevermind. I followed up those 2 brilliant tutorials from @kzin And on the 2nd post He explains how to do it. Although it took me some hours, hope on your next update you will make things a bit easier for the beginners ❤️ |
Hi @kwstasna. Is that possible to take a look at the solution you came to? I'm that beginner you've mentioned above ) Fighting days already with the same task. |
New issue checklist
README
and documentationGeneral information
IGListKit
version: 2.0.0Hello again and sorry for the second "issue".
But i'm trying to figure out how to work with IGListKit.
So i have 2 section controllers
This shows horizontal scrolling cells.
And this section
This is vertical scrolling cells.
In my ViewController, i would like the user to scroll vertically to the hole view but with this VC that i created, the user can scroll ONLY at the 2nd section.
So what i'm trying to make is exactly as Instagram works.
I've tried to add a scrollview to the view but didn't work out well at all.
Is there any suggestion of how to combine 2 sections in one vertical scrolling collection view?
The text was updated successfully, but these errors were encountered: