Modify your lab3 to add the following features:
- Define a database schema
- Subclass the SQLiteOpenHelper
- Create your dao class and implement necessary CRUD operations.
- Modify your previous UI code to list all projects in the database on the ProjectList screen. (If you do not have add project screen, you can pre-insert some records when creating the table.)
- Modify your previous UI code to edit a project in the database and add projects into the database (optional).
- You can also use any ORMs (such as Room Persistence Library ) if you want.
- Add a show favorite projects only checkbox (or toggle button or switch) on the project list screen.
- This setting (whether it will show only favorite projects) should be stored into and received from the shared preferences so that it can be remembered across different sessions.
- If it is set, only list all favorite projects from the database. (optional)
Submit the source code and Lab4report on both github and blackboard.