Skip to content

Commit 6be28bc

Browse files
committed
Fix typo in GithubRemoteMediator
Change-Id: I1f2909234a094ff2091eafcc71f4d86476d70507
1 parent 8d21579 commit 6be28bc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

advanced/end/app/src/main/java/com/example/android/codelabs/paging/data/GithubRemoteMediator.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ class GithubRemoteMediator(
7272
// If remoteKeys is null, that means the refresh result is not in the database yet.
7373
// We can return Success with `endOfPaginationReached = false` because Paging
7474
// will call this method again if RemoteKeys becomes non-null.
75-
// If remoteKeys is NOT NULL but its prevKey is null, that means we've reached
75+
// If remoteKeys is NOT NULL but its nextKey is null, that means we've reached
7676
// the end of pagination for append.
7777
val nextKey = remoteKeys?.nextKey
7878
if (nextKey == null) {

0 commit comments

Comments
 (0)