Skip to content

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 show ListScreen
    • 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
    • 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

Screen_Recording_2024-10-24_at_5.49.02_PM

Edited by Julianne Jorda

Merge request reports

Loading