Skip to content

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

Notifications You must be signed in to change notification settings

Aksx73/ISRO-Archive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

47 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

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

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages