-
-
Notifications
You must be signed in to change notification settings - Fork 278
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
Fix "Load More" Button on Home/Public Timeline #1283
Merged
Merged
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
66e3bc9
Begin fixing of "Load More" on Home Timeline (IOS-266)
kimar 5483f56
Don't show "Load More" if last status is first existing (IOS-266)
kimar 9714a37
Insert missing items upon "Load More" (IOS-266)
kimar efcb91f
Implement sinceID usage when loading latest posts (IOS-266)
kimar a59ab43
Change updating of items on Load More(IOS-266)
kimar 7b5b0da
Do not try to modify datasource directly (IOS-266)
kimar d9a7bbe
Improve load more (IOS-266)
kimar b977625
Fix load more using maxID and limit to 20 items (IOS-266)
kimar 5a18fe7
Implement loading missing status in public timeline (IOS-266)
kimar 2387d25
Implement subsequent "Load More" (IOS-266)
kimar cb08a6e
Make loadMore(item:at:) API more Swifty (IOS-266)
kimar 543b82f
Address PR comments (IOS-266)
kimar File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the reascon
sinceID
is not an optional?Both Timeline-calls support
sinceID
beingnil
and1
as fallback confused meThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have adopted this from the Android implementation, there
sinceID
is also optional but when loading the Gaps it is explicitly using1
which makes me assume the API has a different behavior when not setting the value at all.