Code Monkey home page Code Monkey logo

the-movies-app's Introduction

The-Movies-App

A simple app illustrating some of the latest and greatest Android development principles.

๐Ÿ‘‹๐Ÿผ Introduction - What is this ?

This app uses the TMDB api to fetch a list of movies and shows them in a RecyclerView. If you click on a movie poster, it opens a 'detail' page with an enlarged poster and the movie name. That's about it - that's all the app does. (This is not a real, usable app).

Demo

๐Ÿค” What is this - REALLY?

The app is REALLY about demonstrating usage of open source libraries and modern architecture patterns for Android development, such as the following :

  • MVVM architecture pattern
  • LiveData
  • Coroutines
  • Navigation Components
  • Dagger 2 for Dependency Injection
  • Room persistence library
  • Coil Image Loading Library
  • Retrofit Networking Library
  • Lottie for animations
  • Mockk for mocking in Unit/UI Tests

and a few others.

โœจ Notable Features/Patterns

This app implements some frequently encountered patterns in Android development

ยฉ๏ธ Caching data for Offline Viewing

The app caches data received via the API request in a local database (using Room) and uses that data in subsequent app launches if there is no/bad internet connectivity.

Demo

๐Ÿ” Empty/No Data screen + ๐Ÿ”„ Refresh pattern

In case there is no internet connectivity when the app is launched for the first time, you might encounter the following 'empty' screen :

Demo

In case, the connectivity comes back, you can press the reload button and the data is downloaded and displayed.

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.