Add study spot list view components
Closes #4 (closed) Please review @g55xu @yperez @k3khatri @a8karthi
- what is done
- Imported Voyager, Compose, Material
- Moved theme, controller, model, and view folders inside of com.example.studyspotz (commented some stuff inside for now/cleaned it up)
- Setup basic voyager navigation in
MainActivity
to showListScreen
- Created 2 screens with composables inside of the view:
- ListScreen: Is the main screen with the list of all the studyspots to show
- Uses StudySpotListItem to represent the card of each list item
- When a study item is clicked on, navigates to SpotDescriptionScreen
- SpotDescriptionScreen: When a list item is clicked on, would bring up another screen with the name and description
- ListScreen: Is the main screen with the list of all the studyspots to show
- Added app’s theme: Color, theme, and Type to handle app’s light/dark mode, colours, and typography
- Created basic model class of the StudySpot which is just the name and description. Will be updated once database is connected
- To be done
- Add more screens and navigation between the ListScreen, Login Screen, and other existing screens
- Establish the ViewModel which should interact with the model
Edited by Julianne Jorda