Giter Site home page Giter Site logo

alexsheva-mason / rick-morty-database Goto Github PK

View Code? Open in Web Editor NEW
9.0 2.0 3.0 150.18 MB

This is an Android app for searching and filtering all the relevant information on characters / locations / episodes from the universe of "Rick and Morty" series

License: GNU General Public License v3.0

Java 0.80% Kotlin 99.20%
kotlin android-jetpack-navigation jetpack-lifecycle-components jetpack-pagination android-architecture-components kotlin-coroutines

rick-morty-database's Introduction

Characters for Rick and Morty

This project is an android app created for fans of "Rick And Morty" series and provides some valuable information about characters, locations and episodes, allows to search and filter data. This project originally was created in Java, but now it has been heavily refactored and rewritten in Kotlin.

App design and architecture

Project is based on MVVM architecture, mostly written in Kotlin using Android Jetpack components and libraries. App utilises offline first approach and implements "Single Activity - multiple Fragments" navigation pattern.

Android Jetpack Architecture Components used:

  • ViewModel
  • LiveData
  • Room
  • ViewBinding
  • Navigation component
  • Paging v2

Dependency injection:

  • Dagger2

Kotlin libraries:

  • Kotlin Coroutines (with Flows)
  • various ktx extensions

Testing:

  • Unit tests, instrumented tests (JUnit, Mockito)

UI is utilising a dual-theme approach, allowing users to choose from light or dark theme. Components from Material Design library (MaterialCardview, MaterialToolbar, BottomNavigationView etc.) have been used due to their ability to switch between colour Primary and colour Surface. Detail Fragments are designed in a way that allows the user to drag and move contents - this behaviour is implemented by using MotionLayout. MaterialContainerTransform (shared element transitions), MaterialFadeThrough and MaterialElevationScale from Material Design library have been used to animate transitions between list and detail fragments.

MAD Score

Credits

Rick and Morty RESTful API, rick-and-morty-api by Axel Fuhrmann is being used as a data source for this project.

Project uses third-party libraries (in no particular order):

Authors

Alexei Sevcisen

License

Licensed under the GNU General Public License v3.0

rick-morty-database's People

Contributors

alexsheva-mason avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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.