Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/alinachroma/the-flight-search-app

An Android app that lets the user enter an airport and view a list of destinations using that airport as a departure. This project is created for demo purposes to demonstrate everything I learned within the "Android Basics with Compose" Course (Unit 6). Built fully with Jetpack Compose.
https://github.com/alinachroma/the-flight-search-app

android android-application datastore-android datastore-preferences jetpack-compose kotlin room-database

Last synced: about 2 months ago
JSON representation

An Android app that lets the user enter an airport and view a list of destinations using that airport as a departure. This project is created for demo purposes to demonstrate everything I learned within the "Android Basics with Compose" Course (Unit 6). Built fully with Jetpack Compose.

Awesome Lists containing this project

README

        

# The Flight Search App

An Android app that lets the user enter an airport and view a list of destinations using that airport as a departure.
This project is created for demo purposes to demonstrate everything I learned within the "Android Basics with Compose" Course (Unit 6).
Built fully with Jetpack Compose.

## Screenshots
flightsearch

## Demo
| Light mode | Dark mode |
| ------------- | ------------- |
| | |

## Features

* The app queries the database to provide autocomplete suggestions as the user types.
* When the user chooses a suggestion, the app generates a list of available flights from that airport, including the IATA identifier and airport name to other airports in the database.
* The app lets the user save favorite individual routes.
* When no search query is entered, the app displays all the user-selected favorite routes in a list, showing the departure and destination.
* If there are no favorite routes saved, the "No Favorites" screen is shown.
* The search text (user input) is saved with Preferences DataStore.
* When the user reopens the app, the search text, if any, prepopulates the text field with appropriate results from the database.
* More frequently visited airports are shown in descending order.

### Material Design theming
The Gallery App uses [Material Theme Builder](https://material-foundation.github.io/material-theme-builder/) and `MaterialTheme` composable. The app uses a custom, branded color scheme.

## Libraries & dependencies used in the project:

* Jetpack Compose
* Kotlin coroutines
* Room
* Preferences DataStore
* Manual Dependency Injection.

## Credits
A prepopulated database is provided by [Android Codelabs](https://developer.android.com/get-started/codelabs).

Icon by Freepik