Skip to content

feat: Save attendees to DB #2300

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

Merged
merged 1 commit into from
Aug 24, 2019
Merged

feat: Save attendees to DB #2300

merged 1 commit into from
Aug 24, 2019

Conversation

anhanh11001
Copy link
Contributor

Fixes: #2299

@auto-label auto-label bot added the fix label Aug 23, 2019
Copy link
Member

@liveHarshit liveHarshit left a comment

Choose a reason for hiding this comment

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

How you're revalidating attendees form API?

.nonNull()
.observe(viewLifecycleOwner, Observer {
if (it.isEmpty()) {
Toast.makeText(context, getString(R.string.error_fetching_attendees), Toast.LENGTH_SHORT).show()
Copy link
Member

Choose a reason for hiding this comment

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

Sanckbar

Copy link
Contributor Author

Choose a reason for hiding this comment

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

How you're revalidating attendees form API?

I don't think it is necessary to revalidate attendees from API as it is not possible to update attendees after order is made. If we need to then it is still possible as in #2281 SwipeRefreshLayout is added to refresh order, which should also refresh attendees if both PRs got merged.

liveHarshit
liveHarshit previously approved these changes Aug 23, 2019
@iamareebjamal iamareebjamal changed the title fix: Save attendees to DB feat: Save attendees to DB Aug 24, 2019
@auto-label auto-label bot added feature and removed fix labels Aug 24, 2019
@iamareebjamal iamareebjamal merged commit c00ff19 into fossasia:development Aug 24, 2019
@anhanh11001 anhanh11001 deleted the 2299_save_attendees branch August 25, 2019 07:36
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.

Save attendees to db when fetching order
3 participants