Giter Club home page Giter Club logo

flight-search-app-android-kotlin-compose-basics's Introduction

Flight Search App

An Android app that asks the user for a departure airport, searches a pre-populated database to present a list of flights that depart from that airport, lets the user save favorite flights, and updates the database with Room.

Please fill free to review the code and comment, submit an issue to comment on it

App Objective

Retrieve Data from a Room Database with 2 tables Airports and Favorites. Save Search value to user preferences.
When the user reopens the app, the search text is prepopulate from preferences

Screens

  • Search Screen with an empty textField to search DB
  • On Empty Search Text
    • we show a list of Saved Favorite Flights if saved flight are found
  • On Search Text entering
    • we show search results, a list of airports
      • Clicking on an item (Airport), takes as to the Flight Screen
  • Flight Screen
    • is a list of flights against all other Airports in DB
    • Clicking on a flight save it to Favorites

Codelab: Project:Create a Flight Search app

https://developer.android.com/codelabs/basic-android-kotlin-compose-flight-search?continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-compose-unit-6-pathway-3%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fbasic-android-kotlin-compose-flight-search#3

ref: flight-search-app-android-kotlin-compose

flight-search-app-android-kotlin-compose-basics's People

Contributors

lixoten avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.