-
Notifications
You must be signed in to change notification settings - Fork 169
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
NMA-603 | (Contacts in) Transaction History | Home Screen #527
NMA-603 | (Contacts in) Transaction History | Home Screen #527
Conversation
public void onLoaderReset(final Loader<List<Transaction>> loader) { | ||
// don't clear the adapter, because it will confuse users | ||
} | ||
//TODO: Do we need to handle this? |
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.
Most of the below code should be handled by LiveData/ViewModel, however walletChangeReceiver
part can be ignored since we do not use ACTION_WALLET_REFERENCE_CHANGED anymore (it is a legacy code).
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.
As agreed with @tomasz-ludek , throttling will be implemented in #526.
} | ||
} | ||
|
||
fun load(wallet: Wallet = WalletApplication.getInstance().wallet) { |
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 wallet
val should be moved inside the method body
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.
Fixed in 55f7a80
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.
Looks good!
Issue being fixed or feature implemented
Related PR's and Dependencies
Screenshots / Videos
How Has This Been Tested?
Checklist: