-
Notifications
You must be signed in to change notification settings - Fork 180
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
Using last visible cell as Focused View? #9
Comments
Hi Gaurav, Did you find anything ? Because I want exactly same that you want. Please help me if you found or just suggest me how can we achieve the same. Thanks |
@EMakadiya Sorry. I haven't found anything about it yet. I tried to create it manually but unable to figure out the location of the cells in relation to the content offset. |
@gauravlnx Okay Let me try. Thanks. |
Please let me know if solved. :) |
@gauravlnx Sure will let you know. Can you please tell me that what you tried? Till Now I understand that they are changing the frame of all items according to offset. |
I can't remember exactly what I did but mainly I tried to calculate the size and prosition and cells in prepareLayout() method. I tried to calculate in reverse also i.e. last cell at the bottom( of contentSize) and previous cell just above it. I far I am able to understand, main changes have to be made in the following methods:
|
@gauravlnx I solved by my self.
|
Hi,
What do I need to do if I want to make the last visible cell as the focused view instead of the first visible cell?
Thanks
The text was updated successfully, but these errors were encountered: