Coder Social home page Coder Social logo

themilkyway's Introduction

The Milky Way

The App consumes NASA search API to show a list of Milky Way Images taken in 2017.

Prerequisites

The project has all required dependencies in the gradle files. Add the Project to Android Studio or IntelliJ and build.All the required dependencies will be downloaded and installed.

Architecture

The project uses MVVM architecture pattern.

Tech-stack

  • Kotlin - a cross-platform, statically typed, general-purpose programming language with type inference.

Libraries

  • ViewModel - Manage UI related data in a lifecycle conscious way.
  • ViewBinding - support library that allows binding of UI components in layouts to data sources,binds milky way image details to UI
  • Navigation Component
    • Android Jetpack's Navigation component to navigate between MilkyWayFragment and MilkyWayDetailsFragment
  • Dagger Hilt - For Dependency Injection. Used this for easy testing, refactoring and to enhance re-usability of dependencies
  • Retrofit - To fetch milky way images from the NASA search API.
  • Kotlin Flow - To access data sequentially
  • Espresso - For UI tests.

Screenshots

Milky Way Images List Milky Way Image Details
Milky way Images Milky way details

Things to improve

  • Use room to persist the milky way data locally so that user can access the milky way data while their device is offline.
  • To move the mapping logic to the view model class to reduce logic on the view.
  • Change the date format for the date the milky way image was taken.

themilkyway's People

Contributors

seth-omari avatar

Watchers

James Cloos avatar  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.