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

[US 02.03.01] Select and delete selected items #44

Merged
merged 2 commits into from
Nov 6, 2023

Conversation

Sami-Jagirdar
Copy link
Contributor

Summary

  • Changed the layout of the home fragment to allow for selecting and deleting items
  • Added a boolean attribute to class Item that indicates if an item is selected or not
  • Similarly added attributes and modified the class 'ItemAdapter' to indicate if the items are in select state or not
  • Implemented delete functionality in HomeFragment to delete items when the item list is in select state and items are selected
  • Also includes ability to cancel all selections and go back to regular state

UML
To be added here

select_delete_Apng
select_delete_Bpng

*Note: I made the delete and tags button part of the home fragment and not the bottom navigation bar since that bar is meant for navigating between fragments, so adding something like a delete button wouldn't make sense. We can discuss the UI changes here

@Sami-Jagirdar Sami-Jagirdar merged commit fe1747c into select_delete_items Nov 6, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants