Skip to content

Conversation

@anhanh11001
Copy link
Contributor

@anhanh11001 anhanh11001 commented Jun 26, 2019

Details:

  • Add pagination for EventsFragment
  • Remove unused methods and variables
  • Fix layout to match pagination

Fixes #84
Fixes #1681

Screenshots for the change:
ezgif-4-191763ff2c27
ezgif-4-f6209224c047

@auto-label auto-label bot added the feature label Jun 26, 2019
Copy link
Member

@nikit19 nikit19 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Amazing work!

PagedList
.Config
.Builder()
.setPageSize(5)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so we are requesting for more data after 5 elements right? I guess this is too less. We can load 15-20 events at time if it doesn't take too much time to load.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it is fine. Much better for mobile data. Will test locally

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@iamareebjamal did you test? This PR looks good otherwise, let's finalise it

Details:
- Add pagination in EventsFragment

Fixes: #84
@iamareebjamal iamareebjamal merged commit dcc672b into fossasia:development Jul 2, 2019
@anhanh11001 anhanh11001 deleted the 84_pagination branch July 2, 2019 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement pagination in the app

3 participants