https://github.com/nathan-html/android-bus-scheduler
https://github.com/nathan-html/android-bus-scheduler
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/nathan-html/android-bus-scheduler
- Owner: Nathan-html
- License: apache-2.0
- Created: 2022-09-09T18:46:17.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-09-09T18:51:34.000Z (almost 4 years ago)
- Last Synced: 2025-06-22T09:38:49.115Z (12 months ago)
- Language: Kotlin
- Size: 146 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: code-of-conduct.md
Awesome Lists containing this project
README
# Bus Scheduler App
This folder contains the source code for the Bus Scheduler app codelab.
# Introduction
The Bus Scheduler app displays a list of bus stops and arrival times. Tapping a bus stop on the first screen will display a list of all arrival times for that particular stop.
The bus stops are stored in a Room database. Schedule items are represented by the `Schedule` class and queries on the data table are made by the `ScheduleDao` class. The app includes a view model to access the `ScheduleDao` and format data to be display in a list, using `Flow` to send data to a recycler view adapter.
# Pre-requisites
* Experience with Kotlin syntax.
* Familiarity with activities, fragments, and recycler views.
* Basic knowledge of SQL databases and performing basic queries.
# Getting Started
1. Install Android Studio, if you don't already have it.
2. Download the sample.
3. Import the sample into Android Studio.
4. Build and run the sample.