Use total wallet balance instead of spendable #1162
No reviewers
Labels
No labels
android: closed alpha
android: open beta
app-parity
area: devops
area: discovery
area: docs
area: livestream
area: proposal
consider soon
creator
Epic
good first issue
hacktoberfest
help wanted
icebox
Invalid
level: 1
level: 2
level: 3
level: 4
needs: exploration
needs: grooming
needs: priority
needs: repro
needs: tech design
on hold
priority: blocker
priority: high
priority: low
priority: medium
product review
resilience
Tom's Wishlist
type: bug
type: discussion
type: improvement
type: new feature
type: refactor
type: task
type: testing
unplanned
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: LBRYCommunity/lbry-android#1162
Loading…
Reference in a new issue
No description provided.
Delete branch "wallet-total"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
PR Checklist
Please check all that apply to this PR using "x":
PR Type
What kind of change does this PR introduce?
Fixes
Issue Number: #1147
What is the current behavior?
Spendable wallet balance is shown instead of total one
What is the new behavior?
Now total wallet balance will be shown. Also the breakdown is shown in a expandable view which will animate a little bit when expanding.
Other information
A new custom view to show LBRY Credits has been created. This is mostly only usable on the wallet fragment, but it reduces complexity on the layout files as they only need a single widget to be added or edited instead of a couple of them. Also the view can now be edited only once and will be updated wherever it would be used.
Balance breakdown has been implemented as a listview. This way, new items can be added as a Java object instead of using hard-coded views on the balance layout.
There is a UI problem when unlocking tips, @akinwale . This code unlocks tips even when there were more than 400, but UI is not updated accordingly as expected.
Don't review it yet.
Looks great!