Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion app/src/main/java/com/suleiman/pagination/MainActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ public void onFailure(Call<TopRatedMovies> call, Throwable t) {
}
});
}

int flag =1;

/**
* Performs a Retrofit call to the top rated movies API.
Expand All @@ -192,6 +192,7 @@ private Call<TopRatedMovies> callTopRatedMoviesApi() {
@Override
public void retryPageLoad() {
loadNextPage();
flag =100;
}


Expand Down