New version of my Android app that shows you popular movies using themoviedb.org API.

Related tags

App PopularMovies2.0
Overview

PopularMovies2.0

⚙️ work in progress

👉 Please note that this is not a commercial app, this code is shared here for learning and technology demonstration purposes only.

New version of my Android app that shows you popular movies using themoviedb.org API.

The first version Popular Movies, I developed as part of my Android Developer Nanodegree at Udacity back in 2016.

So much has changed in Android development since then, so I decided to make a new one with all the Modern Android Development "MAD" 😉 skills.

This app communicates with the Internet to get movie data from the themoviedb.org API. When offline the data is provided from a local cache of data using an internal Room database.

Main changes from the 2016 version:

  • programming language now Kotlin instead of Java
  • SQL database now using Room
  • UI now using Jetpack Compose instead of XML layouts
  • still using threaded programming to take the load off the UI, but now using Kotlin coroutines and Flow instead of AsyncTask
  • now using dependency injection with Hilt
  • MVVM architecture
  • Tests using AndroidJUnit4 and Okhttp3 MockWebServer
  • Working on more features, comming soon...

Screenshot of one the Composables in the app in Android Studio Preview mode: Preview of Movie detail screen body

Installation

  1. Clone the code and import it as a project into Android Studio

  2. Go to the themoviedb.org and request an API key.

  3. Once you have it open /app/src/main/java/com/gemma/popularmovies/data/network/ApiConstants.kt file and add your own API key in line 32 const val API_KEY = ""

You might also like...
Movies - Simple Application to show movies and advertisemnets

Movies Simple Application to show movies and advertisemnets Technologies This Ap

App uses the TMDB in order to provide a list of movies, artists and TV shows

MoviesAppTMDB This app uses the TMDB in order to provide a list of movies, artists and TV shows. The purpose of this app is to demonstrate the use of

NewsApp based on NewsApi.org
NewsApp based on NewsApi.org

NewsApp A simple app that is gives articles and breaking news from news sources and blogs across the web. Used technologies MVVM, Retrofit, Navigation

Play casual chess on lichess.org via voice commands

Lichess-by-Voice lichess.org is a cost-free, ad-free chess server. Lichess, as well as this app, is Open Source. The app connects to your Lichess acco

Freenet Org Website Development Notes

Freenet Org Website Development Notes Overview This is the repository for the Freenet project website. It is built on the Kweb framework in Kotlin, an

TMDbHub - Listing movies using the TMDb API. You can filter results, view details, and save them to a collection
TMDbHub - Listing movies using the TMDb API. You can filter results, view details, and save them to a collection

TMDb Hub Listing movies using the TMDb API. You can filter results, view details

Android Application for a user’s favorite Movies, TV shows and Anime while keeping up to date with the latest releases.

Android Application for a user’s favorite Movies, TV shows and Anime while keeping up to date with the latest releases.

It is my sixth project on android development.It displays informations of movies and shows.

Celluloid It is my sixth project on android development.It displays informations of movies and shows. It shows detailed information of movies and tv s

Is a new version of code for my (Social media app) with Clean Architecture

Is a new version of code for my Social media app with Clean Architecture. I used most of Clean code tips with android, SOLID principles and design-patterns..

Owner
Gemma Lara Savill
Gemma Lara Savill
An android app built using Kotlin that consumes TMDB API to display current trending, upcoming and popular movies 🍿 .

Flick An android app built using Kotlin that consumes TMDB API to display current trending, upcoming and popular movies ?? .It has been built followin

Kagiri Charles 8 Nov 29, 2022
A Simple Movie App Built With Kotlin and Themoviedb API

Movie api https://www.themoviedb.org/documentation/api main fragment detail frag

Alex92w 1 Apr 26, 2022
Getting Started TheMovieDB Android app

Getting Started TheMovieDB Android app Android application, created for the test for oddbit. Implements: Room, LiveData, Dependecy Injection (Hilt), R

Aditya Wibisana 0 Sep 6, 2022
Popular Movies showcase android app

Pop Flix PopFlix is a gorgeous client application for TMDb on Android, built using Kotlin. Architecture and Tech-stack Built on MVVM architecture patt

Vishvendra Singh 5 Jun 7, 2022
Movie streaming is an android app that show us last,newest,top imdb and popular movies.

Movies-Streaming-Android-App An Android application which shows Popular, New Movies, Top Rated movies and all the details of any movie like- Cast, Rev

mojtaba joshaghani 33 Aug 25, 2022
Movie Info - MovieInfo app that recieves popular movies and allow the user to search for specific movie through the restapi

Movie_Info MovieInfo app that recieves popular movies and allow the user to sear

inderjeet yadav 3 Jun 8, 2022
Keep track of popular & top rated movies and see movie details

Movies Keep track of popular & top rated movies and see movie details Features Keep track of popular & top rated movies See movie details Libraries Je

Amr Saraya 1 May 1, 2022
MovieLibrary -An android application which uses tmdb API to fetch the data for various movies and TV Shows

MovieLibrary -An android application which uses tmdb API to fetch the data for various movies and TV Shows

null 1 May 1, 2022
This project is focused on the sample using the API's new preview version of Android-L, use of transitions, shadows etc...

Android L preview example Description This project is focused on the sample using the API's new preview version of Android-L, use of transitions, shad

Saul Molinero 165 Nov 10, 2022
Movies-db-example - Sample Android application that loads movies data from a remote server

Movies Application Sample Android application that loads movies data from a remo

Bilal Ibrahim Hairab 0 Feb 8, 2022