-
Notifications
You must be signed in to change notification settings - Fork 1.3k
[Saved cards] Add button for "Add credit card" #18881
Comments
Hello, Could I work on this issue? |
Thanks, go for it. We plan to ship the feature in the next May release so I think there is demand to pick this work up. Since no one has picked it up, I am happy to have anyone pick up work where it is reasonable. I think I do have to mention that the team can take over the issue where it is reasonable in order to hit our releasee deadline. |
Since the list of credit cards is a RecyclerView, the only known solution I have seen is using a ConcatAdapter. I am happy to entertain other solutions if you are aware of better solutions, but I hope this points a little point of guidance. I am still fairly new with Android development. |
Gotcha. I'll look into it. I'm pretty sure you know your stuff. Because if you're new, then I'm in elementary school when it comes to this stuff. Still learning and trying to become an androi dev haha. |
…out was copied from preference_credit_cards_add_credit_card.xml to avoid any confusing and separate out both layouts.
…ed an onclick listener to the view holder that will take the user to the credit card editor desitnation when add button is clicked. Implemented AddCreditCardButtonAdapter. I added id to the saved_cards_add_button.xml layout.
…r in Saved Cards. It is displayed below all cards. Once the user clicks on it, they are taken to the Credit Card editor.
…n. Deleted log statements and cleaned up some imports
…out was copied from preference_credit_cards_add_credit_card.xml to avoid any confusing and separate out both layouts.
…ed an onclick listener to the view holder that will take the user to the credit card editor desitnation when add button is clicked. Implemented AddCreditCardButtonAdapter. I added id to the saved_cards_add_button.xml layout.
…r in Saved Cards. It is displayed below all cards. Once the user clicks on it, they are taken to the Credit Card editor.
…n. Deleted log statements and cleaned up some imports
…ge saved cards page. Will add work on navigation path next.
I would like to work on this ticket |
…button Add functionality for 'Add credit card' button
…eAddCreditCard
…button Add functionality for 'Add credit card' button Add unit tests for 'Add credit card' functionality
Add functionality for 'Add credit card' button Add unit tests for 'Add credit card' functionality
Verified as fixed on the latest Nightly 5/26 with OnePlus Nord (Android 10). |
We have an PR for this in #19236 with some feedback on the remaining work #19236 (comment). Please consider using this.
This issue for adding a "Add credit card" button in the "Saved cards" screen. This should navigate to the credit card editor.
┆Issue is synchronized with this Jira Task
The text was updated successfully, but these errors were encountered: