Skip to content

Commit

Permalink
Removed redundant size check.
Browse files Browse the repository at this point in the history
  • Loading branch information
dlemmermann committed Dec 5, 2024
1 parent 61efe89 commit 080f083
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ public class PagingListViewApp extends Application {
public void start(Stage stage) {
PagingListView<String> pagingListView = new PagingListView<>();
pagingListView.setPrefWidth(400);
pagingListView.setTotalItemCount(305);
pagingListView.setPageSize(15);
pagingListView.setTotalItemCount(7);
pagingListView.setPageSize(10);
pagingListView.setLoader(lv -> {
if (Math.random() > .75) {
try {
Expand Down

0 comments on commit 080f083

Please sign in to comment.