Giter VIP home page Giter VIP logo

isro-archive's Introduction

ISRO-Archive

Android app showing Launched Spacecrafts & Rockets data of ISRO using ISRO ๐Ÿš€ API. App is built to demonstrate Modern Android Development.

You can Install and test latest build from below ๐Ÿ‘‡

ISRO-Archive

Screenshot-20230225-100549.png Screenshot-20230225-100620.png

About

It simply loads data of Spacecrafts, Launcher, Customer Satellites and Centres data of ISRO using ISRO API. Use retrofit to fetch all the json data provided by the api and display on the user screen.
Data will be always loaded from local database. Remote data (from API) and Local data is always synchronized. App follows clean architecture pattern (MVVM + Usecases). Whole app is organized with intent to create architecture like in multi-module approach.

Built With ๐Ÿ› 

  • Kotlin - First class and official programming language for Android development.
  • Coroutines - for asynchronous
  • Flow - A cold asynchronous data stream that sequentially emits values and completes normally or with an exception.
  • Hilt - Dependency injection library for Android that reduces the boilerplate of doing manual dependency injection in your project
  • Android Architecture Components - Collection of libraries that help you design robust, testable, and maintainable apps.
    • LiveData - Data objects that notify views when the underlying database changes.
    • ViewModel - Stores UI-related data that isn't destroyed on UI changes.
    • ViewBinding - Generates a binding class for each XML layout file present in that module and allows you to more easily write code that interacts with views.
    • Room - SQLite object mapping library.
  • Retrofit - A type-safe HTTP client for Android and Java.
  • Material Components for Android - Modular and customizable Material Design UI components for Android.

Package Structure

# Root Package
.
โ”œโ”€โ”€ data                # For data handling.
โ”‚   โ”œโ”€โ”€ local           # Local Persistence Database. Room (SQLite) database
|   โ”‚   โ”œโ”€โ”€ dao         # Data Access Object for Room   
|   |   |โ”€โ”€ database    # Datbase Instance
|   |โ”€โ”€ remote          # Remote Data Handlers
โ”‚   |   โ”œโ”€โ”€ api         # Retrofit API for remote end point
|   |โ”€โ”€ model           # Model classes
|   โ””โ”€โ”€ repository      # Repository implementation
|
โ”œโ”€โ”€ domain              # Domain layer
|   |โ”€โ”€ usecase         # Usescase classes
|   โ””โ”€โ”€ repository      # Repository interface (Single source of data)
|
โ”œโ”€โ”€ di                  # Dependency injection modules 
|
โ”œโ”€โ”€ ui                  # Presentation layer
โ”‚   |โ”€โ”€ application     # Application class
|   โ”œโ”€โ”€ activity        # Main activity
|   |โ”€โ”€ home            # Home fragment  
|   โ”œโ”€โ”€ viewmodel       # Common viewmodel for all data
|   โ”œโ”€โ”€ spacecraft      # Fragment + adapter for spacecraft list
|   โ”œโ”€โ”€ centres         # Fragment + adapter for isro centres list
|   โ”œโ”€โ”€ launchers       # Fragment + adapter for isro launchers list
|   โ””โ”€โ”€ satellite       # Fragment + adapter for customer satellite list
|
โ””โ”€โ”€ utils               # Utility classes

MAD Score

Summary

isro-archive's People

Contributors

aksx73 avatar

Stargazers

 avatar

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.