All Projects → enginebai → Moviehunt

enginebai / Moviehunt

Licence: mit
Movie Android App written in Kotlin, MVVM, RxJava, Android Architecture Components.

Programming Languages

kotlin
9241 projects

Projects that are alternatives of or similar to Moviehunt

Mvvm Reddit
A companion project for our blog post on better Android software development using MVVM with RxJava.
Stars: ✭ 106 (-46.73%)
Mutual labels:  android-app, rxjava, mvvm, android-application
Popularmovies
🎥 Movie discovery app showcasing Android best practices with Google's recommended architecture: MVVM + Repository + Offline support + Android Architecture Components + Paging library & Retrofit2.
Stars: ✭ 142 (-28.64%)
Mutual labels:  android-app, movie, mvvm, android-architecture-components
Marvel App
Android application made with Kotlin and RxJava
Stars: ✭ 16 (-91.96%)
Mutual labels:  android-app, rxjava, android-application
Weatherapp
5 Day Forecast app that works on Android and uses latest tools (Kotlin, Navigation, Room, LiveData, Databinding, Dagger 2)
Stars: ✭ 426 (+114.07%)
Mutual labels:  rxjava, mvvm, android-architecture-components
Mango
🏀 An Android app for dribbble.com
Stars: ✭ 659 (+231.16%)
Mutual labels:  android-app, rxjava, android-application
Kodein Mvvm
Example app using Kodein for dependency injection with MVVM and Architecture Components
Stars: ✭ 26 (-86.93%)
Mutual labels:  android-app, mvvm, android-application
Android App Template
Kickstart your new project with Android App Template (Kotlin + MVVM + AAC + Dagger 2 + Retrofit 2 + RxJava)
Stars: ✭ 34 (-82.91%)
Mutual labels:  rxjava, mvvm, android-architecture-components
Androidroom
Android example to show how to use Room to access SQLite database on device for reading and writing data. This example also shows how to use LiveData and ViewModel with Room to build reactive, well performing and easy to maintain applications.
Stars: ✭ 36 (-81.91%)
Mutual labels:  android-app, mvvm, android-application
Aurdroid
Android AUR [Arch Linux user Repository] packages browser
Stars: ✭ 88 (-55.78%)
Mutual labels:  android-app, android-application, android-architecture-components
Android Inappbilling
A sample which uses Google's Play Billing Library and it does InApp Purchases and Subscriptions.
Stars: ✭ 114 (-42.71%)
Mutual labels:  android-app, mvvm, android-application
Android Template
Android app starter template
Stars: ✭ 141 (-29.15%)
Mutual labels:  rxjava, mvvm
App Privacy Policy Generator
A simple web app to generate a generic privacy policy for your Android/iOS apps
Stars: ✭ 2,278 (+1044.72%)
Mutual labels:  android-app, android-application
Puff Android
Password Manager for Android Using Blowfish Encryption
Stars: ✭ 144 (-27.64%)
Mutual labels:  android-app, android-application
Foodium
It simply loads Posts data from API and stores it in persistence storage (i.e. SQLite Database). Posts will be always loaded from local database. Remote data (from API) and Local data is always synchronized.
Stars: ✭ 1,940 (+874.87%)
Mutual labels:  mvvm, android-architecture-components
Beaver
Android MVVM + Dagger 2 (Hilt) + JetPack project template
Stars: ✭ 144 (-27.64%)
Mutual labels:  rxjava, mvvm
Android Clean Architecture Mvvm Dagger Rx
Implemented by Clean Architecture, Dagger2, MVVM, LiveData, RX, Retrofit2, Room, Anko
Stars: ✭ 138 (-30.65%)
Mutual labels:  rxjava, mvvm
Android Developer Roadmap
Android Developer Roadmap - A complete roadmap to learn Android App Development
Stars: ✭ 2,170 (+990.45%)
Mutual labels:  android-app, rxjava
Rethink App
DNS over HTTPS / DNS over Tor / DNSCrypt client, firewall, and connection tracker for Android.
Stars: ✭ 188 (-5.53%)
Mutual labels:  android-app, android-application
Zimlx
Open Source and free launcher for Android
Stars: ✭ 137 (-31.16%)
Mutual labels:  android-app, android-application
Mvvmrxjavaretrofitsample
MVVM RxJava Retrofit Sample
Stars: ✭ 148 (-25.63%)
Mutual labels:  rxjava, mvvm

MovieHunt

MovieHunt is a sample Android project using The Movie DB API based on MVVM architecture. It showcases the app development with well-designed architecture and up-to-date Android tech stacks.

MovieHunt

Features

  • 100% Kotlin
  • MVVM architecture
  • Reactive pattern
  • Android architecture components and Jetpack
  • Single activity
  • Dependency injection
  • CI support (Upcoming)
  • Testing (Upcoming)

Tech Stacks

  • Retrofit + OkHttp - RESTful API and networking client.
  • Koin - Dependency injection.
  • Android Architecture Components - A collections of libraries that help you design rebust, testable and maintainable apps.
    • Room - Local persistence database.
    • Paging - Pagination loading for RecyclerView.
    • ViewModel - UI related data holder, lifecycle aware.
    • LiveData - Observable data holder that notify views when underlying data changes.
    • Data Binding - Declarative way to bind data to UI layout.
    • Navigation component - Fragment routing handler. (Upcoming)
    • WorkManager - Tasks scheduler in background jobs. (Upcoming)
  • RxJava - Asynchronous programming with observable streams.
  • Epoxy - Simplified way to build complex layout in RecyclerView.
  • Glide - Image loading.
  • Timber - Extensible API for logging.
  • Jetpack Compose - Declarative and simplified way for UI development. (Upcoming)
  • Coroutines - Light-weight threads for background operations. (Upcoming)

Architectures

MVVM

We follow Google recommended Guide to app architecture to structure our architecture based on MVVM, reactive UI using LiveData / RxJava observables and data binding.

  • View: Activity/Fragment with UI-specific logics only.
  • ViewModel: It keeps the logic away from View layer, provides data streams for UI and handle user interactions.
  • Model: Repository pattern, data layers that provide interface to manipulate data from both the local and remote data sources. The local data sources will serve as single source of truth.

Package Structures

com.enginebai.moviehunt # Root Package
├── data                # For data modeling layer
│   ├── local           # Local persistence database
|   │   ├── dao         # Data Access Object for Room
|   |   ├── model       # Model classes
│   ├── remote          # Remote data source
│   └── repo            # Repositories for single source of data
|
├── di                  # Dependency injection modules
│
├── ui                  # Fragment / View layer
│   ├── list            # List screen Fragment and ViewModel
│   ├── home            # Main screen Fragment and ViewModel
|   │   ├── controller  # Epoxy controller for RecyclerView
|   │   └── models      # Epoxy models for RecyclerView
│   └── details         # Detail screen Fragment and ViewModel
|
├── utils               # Utility Classes / Kotlin extensions
├── MainActivity        # Single activity
├── AppContext          # Application
└── NavigationRouter    # Navigation controller

API Key 🔑

You will need to provide developer key to fetch the data from TMDB API.

  • Generate a new key (v3 auth) from here. Copy the key and go back to Android project.
  • Create a new kotlin file ApiKey.kt in path ./buildSrc/src/main/kotlin/.
  • Define a constant TMDB_API_KEY with the double quotes, it looks like
const val TMDB_API_KEY = "\"90c05******************655\""
  • Add the key to build config in ./buildSrc/src/main/kotlin/Config.kt:
defaultConfig {
    ...
    buildConfigField("String", "TMDB_API_KEY", TMDB_API_KEY)
    ...
}
  • Perform gradle sync.

NOTE: It's important to keep the double quotes for this value, since it's used as String type build config fields, the field name in quotes, the field value in escaped quotes additionally. If you're missing the double quotes, it will build fail.

LICENSE

Copyright (c) 2020 Engine Bai

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].