Skip to content
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

Sabrina/recycler view adapter #18

Merged
merged 2 commits into from Mar 11, 2020
Merged

Sabrina/recycler view adapter #18

merged 2 commits into from Mar 11, 2020

Conversation

@sabrina-li
Copy link
Contributor

sabrina-li commented Mar 10, 2020

files changed:
MarketProductAdapter.java - create/inflate recycler view(holder) and bind the products data to recycler view
MarketEventHandlers.java - interface for any on click handler that's going to be needed for the market fragment, currently only one method but may add more in the future as there will likely be more events that needs handling
MarketFragment.java - set the adapter and implement onclick hander
MarketViewModel.java - add function to increase quantity in cart by 1 when button is clicked

Note: no image yet to be added in view, planing on using Picasso for image loading unless anyone argues otherwise

current UI:
Screen Shot 2020-03-10 at 5 49 31 PM

Copy link
Member

patrick-fs left a comment

LGTM

@sabrina-li sabrina-li merged commit 0b4bfa7 into master Mar 11, 2020
@sabrina-li sabrina-li deleted the sabrina/recyclerViewAdapter branch Mar 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.