-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Show campaigns #2113
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
Show campaigns #2113
Conversation
* Added a ui util class SwipableCardView which passes the onSwipe event to its children * NearbyCardView & CampaignView extend SwipableCardView * Fetch campaigns in ContributionsFragment * Added an option to enable disable campaign in Settings/Preferences
Codecov Report
@@ Coverage Diff @@
## master #2113 +/- ##
=========================================
- Coverage 5.6% 5.49% -0.11%
=========================================
Files 225 231 +6
Lines 11379 11546 +167
Branches 1065 1075 +10
=========================================
- Hits 638 635 -3
- Misses 10689 10859 +170
Partials 52 52
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code looks really good to me. Thanks for creating a widget for SwipableCard
. The implementation is really clean. :)
Thanks for the review @maskaravivek :-) |
Looks amazing @ashishkumar468 , great job! |
Thanks @neslihanturan :-) |
Not sure if related, but I tested this with Nexus S API 27 and this was my result:
|
@misaochan JO, This is not related to this PR, as you've writen that you altered the date on your device, this was due to that, my best guess is that some api is based on timestamp validation, which fails as we've altered it. Could you verify this on your end by actually putting valid dates in the json ? |
Yes, the crash does not happen if the dates are not altered. :) Please create a new issue, I will merge this! |
Description (required)
Show ongoing campaigns on home screen
Fixes #78 {Show news about ongoing campaigns/competitions}
What changes did you make and why?
Tests performed (required)
Tested {build variant, ProdDebug} on OnePlus 3T with API level {26}
Screenshots showing what changed (optional - for UI changes)
