Giter VIP home page Giter VIP logo

aviatickets-2's Introduction

Midterm Exam Instructions

Midterm Exam is for Android course Students of KBTU Spring 2023-2024

Installation

Use git clone command to fetch the project.

git clone https://github.com/estharossa/aviatickets.git

About project

This project simulates an application for selling air tickets. The application has only one page for issuing tickets.

All necessary libraries are already registered in the build.gradle file.

Offer - class which holds an information about air ticket, including departure/arrival location, time, airline, duration and etc.

ApiClient - a Retrofit based http client. Use it for your network requests.

Tasks

  1. Offer list is taken from FakeService object, which is actually a list of hardcoded Offer objects. Add a GET request using Retrofit to fetch offer list from here
  2. Offer list is displayed using Recycler View, but it uses not optimized method notifyDataSetChanged(). Add Diff.Util implementation for the recycler view and get rid of the "setItems" method
  3. Add a functionality to sort offer list by price and duration. UI is already done for you using radio buttons, include only sorting logic and updating UI.

Bonus Task: add images of all airlines using Glide. There is already an ImageView for you.

Submission

  1. Make your repository private and include estharossa as a collaborator
  2. Submit the form

License

MIT

aviatickets-2's People

Watchers

 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.