Skip to content
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

chore: Bump FastAdapter version and fix errors #1772

Merged
merged 5 commits into from
Jul 5, 2019
Merged

chore: Bump FastAdapter version and fix errors #1772

merged 5 commits into from
Jul 5, 2019

Conversation

ShridharGoel
Copy link
Member

Fixes #1752

@auto-label auto-label bot added the chore label Jul 2, 2019
@@ -156,11 +157,11 @@ public boolean onOptionsItemSelected(MenuItem item) {

private void sortAttendees(int sortBy) {
if (sortBy == SORTBYTICKET) {
fastItemAdapter.withComparator((Attendee a1, Attendee a2) -> a1.getTicket().getType().compareTo(a2.getTicket().getType()));
((ComparableItemListImpl<Attendee>) fastItemAdapter.getItemList()).withComparator((Attendee a1, Attendee a2) -> a1.getTicket().getType().compareTo(a2.getTicket().getType()), true);
Copy link
Member

Choose a reason for hiding this comment

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

Everything except this looks good. Find a way you don't need to cast

Copy link
Member Author

Choose a reason for hiding this comment

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

Couldn't find any other way. Check this: mikepenz/FastAdapter#675 (comment)

@fossasia fossasia deleted a comment from ci-reporter bot Jul 5, 2019
@fossasia fossasia deleted a comment from ci-reporter bot Jul 5, 2019
@iamareebjamal iamareebjamal merged commit 62e612b into fossasia:development Jul 5, 2019
@ShridharGoel ShridharGoel deleted the fastadapter-update-v4.0.1 branch July 5, 2019 18:17
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.

2 participants