CSC 214
Homework Assignment #8
Due: April 15, 2024
Contacts made a big splash, so this assignment is based on your last submission. Your job now is to put in a couple of enhancements, make the app more interactive and showcase migration as this would be a multi-year commitment.
Data Input as Dialog [10 points]
Refactor your data input screen into a Dialog presented on top of the contacts list.
Deletion Alert [20 points]
If the user tries to delete a contact present an AlertDialog with Cancel and Delete options. Only allow deletion if delete is pressed.
Migrate Room [20 points]
Add a new field for email and another one called pronouns. The latter stores the preferred pronouns of a user. Migrate your database to version 2 and document the migration with
generated schema files added next to your project folder.
Data Collection [20 points]
Update your UI to now collect an email address and allow the user to pick one from at least 7 pronoun combinations.
Contacts List [20 points]
Update your contacts list to include a round shape with a placeholder image to the left and name, nickname and preferred pronoun combination to the right.
Git [10 points]
Have at least 6 commits in the project's repo.
Hand In
1. create an upload folder naming it using your id, assignment type and version separated by dashes (hw for homework, p for project): jsmith24-hw-8
2. ensure that your project's package name includes your id (com.jsmith24)
3. add the entire project folder to the upload folder
4. add a signed and dated copy of the ReadMe file next to your project folder
5. compress (zip) your upload folder and upload it to Blackboard
版权所有:编程辅导网 2021 All Rights Reserved 联系方式:QQ:99515681 微信:codinghelp 电子信箱:99515681@qq.com
免责声明:本站部分内容从网络整理而来,只供参考!如有版权问题可联系本站删除。