-
Notifications
You must be signed in to change notification settings - Fork 491
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
feat: Pagination in Attendees list #1637
feat: Pagination in Attendees list #1637
Conversation
@iamareebjamal This is complete and working. Please review. |
app/src/main/java/com/eventyay/organizer/data/attendee/AttendeeApi.java
Outdated
Show resolved
Hide resolved
Use proper camel case for variable names and function names |
You mean 'PageWise' instead of 'Pagewise' ? Anything else also? |
variable and parameter names as well |
@iamareebjamal I have used FIRST_PAGE as the name because it's a constant. Does it need to be changed? |
Others are fixed |
@iamareebjamal Please review. |
app/src/main/java/com/eventyay/organizer/core/attendee/list/AttendeesFragment.java
Show resolved
Hide resolved
* build(deps): bump appcompat from 1.1.0-alpha04 to 1.1.0-alpha05 (#1634) Bumps appcompat from 1.1.0-alpha04 to 1.1.0-alpha05. Signed-off-by: dependabot[bot] <support@dependabot.com> * build(deps): bump lifecycle-compiler from 2.1.0-alpha04 to 2.2.0-alpha01 (#1633) Bumps lifecycle-compiler from 2.1.0-alpha04 to 2.2.0-alpha01. Signed-off-by: dependabot[bot] <support@dependabot.com> * build(deps): bump recyclerview from 1.1.0-alpha04 to 1.1.0-alpha05 (#1630) Bumps recyclerview from 1.1.0-alpha04 to 1.1.0-alpha05. Signed-off-by: dependabot[bot] <support@dependabot.com> * build(deps): bump annotation from 1.1.0-beta01 to 1.1.0-rc01 (#1628) Bumps annotation from 1.1.0-beta01 to 1.1.0-rc01. Signed-off-by: dependabot[bot] <support@dependabot.com> * build(deps): bump lifecycle-common-java8 from 2.1.0-alpha04 to 2.2.0-alpha01 (#1631) Bumps lifecycle-common-java8 from 2.1.0-alpha04 to 2.2.0-alpha01. Signed-off-by: dependabot[bot] <support@dependabot.com> * fix: Remove sticky headers from Attendees fragment (#1636) * build(deps): bump lifecycle-extensions from 2.1.0-alpha04 to 2.2.0-alpha01 (#1629) Bumps lifecycle-extensions from 2.1.0-alpha04 to 2.2.0-alpha01. Signed-off-by: dependabot[bot] <support@dependabot.com> * build(deps): bump core-testing from 2.1.0-alpha02 to 2.1.0-beta01 (#1635) Bumps core-testing from 2.1.0-alpha02 to 2.1.0-beta01. Signed-off-by: dependabot[bot] <support@dependabot.com> * build(deps): bump lifecycle-runtime from 2.1.0-alpha04 to 2.2.0-alpha01 (#1632) Bumps lifecycle-runtime from 2.1.0-alpha04 to 2.2.0-alpha01. Signed-off-by: dependabot[bot] <support@dependabot.com> * fix: Prevent closing of Edit Event without confirmation dialog (#1639) * chore: Convert SalesSummaryPresenter to ViewModel (#1642) * feat: Pagination in Attendees list (#1637) * fix: Prevent crash at check-in on second page onwards (#1647) * chore: Add unit tests for SalesSummaryViewModel (#1644) * chore: Add unit tests for SalesSummaryViewModel * chore: Add unit tests for SalesSummaryViewModel * feat: Integrate Error Prone (#1582) * feat: Integrate error prone * Update Error Prone version * build(deps): bump threetenbp from 1.3.8 to 1.4.0 (#1640) Bumps [threetenbp](https://github.com/ThreeTen/threetenbp) from 1.3.8 to 1.4.0. - [Release notes](https://github.com/ThreeTen/threetenbp/releases) - [Changelog](https://github.com/ThreeTen/threetenbp/blob/master/RELEASE-NOTES.md) - [Commits](ThreeTen/threetenbp@v1.3.8...v1.4.0) Signed-off-by: dependabot[bot] <support@dependabot.com> * build(deps): bump gradle from 3.4.0 to 3.4.1 (#1645) Bumps gradle from 3.4.0 to 3.4.1. Signed-off-by: dependabot[bot] <support@dependabot.com> * chore: Update LeakCanary (#1649) * fix: Refresh Sponsors list automatically on deletion of items (#1651) * fix: Update Sponsors list automatically on creation of new item (#1652) * build(deps): bump logging-interceptor from 3.14.1 to 3.14.2 (#1655) Bumps logging-interceptor from 3.14.1 to 3.14.2. Signed-off-by: dependabot[bot] <support@dependabot.com> * chore: Migrate FeedbackListPresenter to ViewModel (#1657) * chore: Migrate FeedbackListPresenter to ViewModel * chore: Migrate FeedbackListPresenter to ViewModel * chore: Migrate FaqListPresenter to ViewModel (#1659) * fix: Dismiss clear button when amount becomes zero (#1421) * fix: Dismiss clear button when amount becomes zero * fix: Dismiss clear button when amount becomes zero * Fix style problem * Add space after if * Update README.md * Delete .gitkeep * fix: DatePicker and TimePicker doesn't display time chosen before when clicked (#1551) Changes: - Retain value of current time so in the AbstractDateTimePicker class Fixes #1548 * fix: Prevent crash on refreshing Event Dashboard (#1675) * fix: Update check-in system to work properly (#1673) * fix: Update check-in system to work properly * fix: Update check-in system to work properly * fix: Update check-in system to work properly * build(deps): bump mockito-inline from 2.27.0 to 2.28.1 (#1677) Bumps [mockito-inline](https://github.com/mockito/mockito) from 2.27.0 to 2.28.1. - [Release notes](https://github.com/mockito/mockito/releases) - [Commits](mockito/mockito@v2.27.0...v2.28.1) * build(deps): bump mockito-inline from 2.28.1 to 2.28.2 (#1679) Bumps [mockito-inline](https://github.com/mockito/mockito) from 2.28.1 to 2.28.2. - [Release notes](https://github.com/mockito/mockito/releases) - [Commits](mockito/mockito@v2.28.1...v2.28.2) Co-authored-by: null <dependabot-preview[bot]@users.noreply.github.com> * build(deps): bump espresso-core from 3.2.0-beta01 to 3.2.0 (#1682) Bumps espresso-core from 3.2.0-beta01 to 3.2.0. Co-authored-by: null <dependabot-preview[bot]@users.noreply.github.com> * build(deps): bump material from 1.1.0-alpha06 to 1.1.0-alpha07 (#1681) Bumps [material](https://github.com/material-components/material-components-android) from 1.1.0-alpha06 to 1.1.0-alpha07. - [Release notes](https://github.com/material-components/material-components-android/releases) - [Commits](https://github.com/material-components/material-components-android/commits) Co-authored-by: null <dependabot-preview[bot]@users.noreply.github.com> * feat: Implement system of role invites (#1680) * feat: Implement system of role invites * feat: Implement system of role invites * Update unit tests * feat: Implement system of role invites * feat: Implement system of role invites * fix: Prevent unresponsive FAQ fragment issue (#1687) * build(deps): bump gradle-errorprone-plugin from 0.8 to 0.8.1 (#1688) Bumps gradle-errorprone-plugin from 0.8 to 0.8.1. Co-authored-by: null <dependabot-preview[bot]@users.noreply.github.com> * fix: Show correct state of map display checkbox (#1692) * build(deps): bump recyclerview from 1.1.0-alpha05 to 1.1.0-alpha06 (#1697) Bumps recyclerview from 1.1.0-alpha05 to 1.1.0-alpha06. Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: null <dependabot-preview[bot]@users.noreply.github.com> * build(deps): bump annotation from 1.1.0-rc01 to 1.1.0 (#1695) Bumps annotation from 1.1.0-rc01 to 1.1.0. Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: null <dependabot-preview[bot]@users.noreply.github.com> * build(deps): bump appcompat from 1.1.0-alpha05 to 1.1.0-beta01 (#1696) Bumps appcompat from 1.1.0-alpha05 to 1.1.0-beta01. Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Co-authored-by: null <dependabot-preview[bot]@users.noreply.github.com> * feat: Implement notifications section (#1694) * feat: Implement notifications section * Remove item divider * Remove unused imports * chore: Bump version code and name for release of v1.2.0 (#1703)
Fixes #1279
Checklist:
Changes:
Implemented pagination in Attendees list.
GIF for the change:
Earlier:
Results in timeout since this is an event with a huge number of attendees.
Now: