-
Notifications
You must be signed in to change notification settings - Fork 16
HW-52585 UI - Receipt Details #42
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
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
1b44713
HW-52585 UI - Receipt Details
6f222bd
remove unnecessary configs
4d87981
formatted amounts
5ffbcb3
remove static
30d585a
fixed variable name
c692629
refactored methods
f7cf238
Merge remote-tracking branch 'remotes/origin/development' into featur…
8987e71
added 12-HR to 24-HR and vice-versa formatter
5c00306
granular code {^__^}
1241fdc
convention
8d9138a
fix amount and transfer amount reversed
9d743d1
Merge remote-tracking branch 'remotes/origin/development' into featur…
465ecb9
fix date localization formatting to receipt views
bf61a05
update background effect to use ripple, added todos for currency form…
8163d53
ui specs changes
cf23ee8
update notes value layout
83d424d
try remove lint exception
972dd0c
fixed lint
7ddf49d
by design decision removing binding classes into duplicate code
2be481e
synced with core sdk
7443ad6
fixing typo
fmattos-hw ff14349
revert rename
43b351f
Automation for receipt details and receipt network retry (#43)
skoong 9a87a91
added finalizer identifiers
1127fc1
Merge branch 'development' into feature/HW-52585-ui-receipt-details
skoong ca29ad4
Updating response throttling
skoong File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
common/src/main/java/com/hyperwallet/android/ui/common/viewmodel/ListDetailNavigator.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| /* | ||
| * The MIT License (MIT) | ||
| * Copyright (c) 2019 Hyperwallet Systems Inc. | ||
| * | ||
| * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and | ||
| * associated documentation files (the "Software"), to deal in the Software without restriction, | ||
| * including without limitation the rights to use, copy, modify, merge, publish, distribute, | ||
| * sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is | ||
| * furnished to do so, subject to the following conditions: | ||
| * | ||
| * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT | ||
| * NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | ||
| * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, | ||
| * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
| * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
| */ | ||
| package com.hyperwallet.android.ui.common.viewmodel; | ||
|
|
||
| /** | ||
| * Detail interface for having a list UI with detail information through navigation | ||
| */ | ||
| public interface ListDetailNavigator<Event> { | ||
|
|
||
| /** | ||
| * Navigate action | ||
| * | ||
| * @param e Navigation event | ||
| */ | ||
| void navigate(Event e); | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| <?xml version="1.0" encoding="utf-8"?> | ||
| <ripple xmlns:android="http://schemas.android.com/apk/res/android" | ||
| android:color="@color/colorSecondaryLight"> | ||
|
|
||
| <item | ||
| android:id="@android:id/mask" | ||
| android:drawable="@android:color/black"/> | ||
| </ripple> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
31 changes: 31 additions & 0 deletions
31
...dTest/java/com/hyperwallet/android/ui/receipt/HyperwalletInstrumentedTestApplication.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| package com.hyperwallet.android.ui.receipt; | ||
|
|
||
|
|
||
| import android.app.Application; | ||
|
|
||
| import com.squareup.leakcanary.InstrumentationLeakDetector; | ||
| import com.squareup.leakcanary.LeakCanary; | ||
|
|
||
| public class HyperwalletInstrumentedTestApplication extends Application { | ||
|
|
||
| @Override | ||
| public void onCreate() { | ||
|
|
||
| super.onCreate(); | ||
| if (LeakCanary.isInAnalyzerProcess(this)) { | ||
| // This process is dedicated to LeakCanary for heap analysis. | ||
| // You should not init your app in this process. | ||
| return; | ||
| } | ||
| installLeakCanary(); | ||
| } | ||
|
|
||
|
|
||
| protected void installLeakCanary() { | ||
|
|
||
| InstrumentationLeakDetector.instrumentationRefWatcher(this) | ||
| .buildAndInstall(); | ||
|
|
||
| } | ||
|
|
||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.