Skip to content

Instantly share code, notes, and snippets.

@shakalaca
Created August 6, 2020 16:14
Show Gist options
  • Save shakalaca/32198097ba4ba4f402ceafb284ea28f1 to your computer and use it in GitHub Desktop.
Save shakalaca/32198097ba4ba4f402ceafb284ea28f1 to your computer and use it in GitHub Desktop.
實際上 PagingState.data 的內容 (對應 RemoteKeys)
+---------+--------------+---------+
| prev: 0 | repo 001 | next: 2 |
+---------+--------------+---------+
| prev: 1 | repo 087 | next: 3 |
+---------+--------------+---------+
| prev: 0 | repo 002 | next: 2 |
+---------+--------------+---------+
...
+---------+--------------+---------+
| prev: 1 | repo 056 | next: 3 |
+---------+--------------+---------+
| prev: 0 | repo 038 | next: 2 |
+---------+--------------+---------+
| prev: 1 | repo 064 | next: 3 |
+---------+--------------+---------+
| prev: 1 | repo 090 | next: 3 |
+---------+--------------+---------+
| prev: 0 | repo 023 | next: 2 |
+---------+--------------+---------+
...
+---------+--------------+---------+
| prev: 1 | repo 077 | next: 3 |
+---------+--------------+---------+
| prev: 1 | repo 099 | next: 3 |
+---------+--------------+---------+
| prev: 0 | repo 036 | next: 2 |
+---------+--------------+---------+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment