Moviehunt

Movie Android App written in Kotlin, MVVM, RxJava, Jetpack Compose (implementing), Android Architecture Components and Coroutine (Upcoming).
Alternatives To Moviehunt
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Fuel4,333282 days ago3December 14, 202087mitKotlin
The easiest HTTP networking library for Kotlin/Android
Mvvm Kotlin Android Architecture2,053
5 months ago6apache-2.0Kotlin
MVVM + Kotlin + Retrofit2 + Hilt + Coroutines + Kotlin Flow + mockK + Espresso + Junit5
Awesome Android Kotlin Apps1,947
3 months ago12Kotlin
👓 A curated list of awesome android kotlin apps by open-source contributors.
Parse Sdk Android1,8641,205109 days ago32May 06, 2018126otherJava
The Android SDK for Parse Platform
Reaktive1,052117 days ago4June 13, 202210apache-2.0Kotlin
Kotlin multi-platform implementation of Reactive Extensions
Runtimepermission868
3 years ago5apache-2.0Java
Simpliest way to ask runtime permissions on Android, no need to extend class or override permissionResult method, choose your way : Kotlin / Coroutines / RxJava / Java7 / Java8
Androidquick766
a year ago1August 30, 2021apache-2.0Java
做外包用的快速开发库--微信、支付宝支付(含签名,下单)、自定义View(验证码/密码,九宫格图片上传等)、换肤、图片预览、RxJava、EventBus、JetPack、CameraX、base层封装等
Kedditbysteps760
4 years ago2Kotlin
Small Reddit Android client developed with Kotlin
Orbit Mvi615
3 days ago14September 25, 202214apache-2.0Kotlin
A simple MVI framework for Kotlin Multiplatform and Android
Mvvmtemplate606
a month ago8mitKotlin
An Android Template with MVVM and Clean Architecture
Alternatives To Moviehunt
Select To Compare


Alternative Project Comparisons
Readme

MovieHunt

MovieHunt is a sample Android project using The Movie DB API based on MVVM architecture. It showcases the latest Android tech stacks with well-designed architecture and best practices.

The new v2 re-design is available. Check it out now!

Features

  • 100% Kotlin
  • MVVM architecture
  • Reactive pattern
  • Android Architecture Components and Jetpack Compose.
  • Kotlin Coroutines + Flow (Upcoming)
  • Single activity pattern
  • 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 3 - 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)
  • (Implementing) Jetpack Compose - Declarative and simplified way for UI development.
  • Epoxy - Simplified way to build complex layout in RecyclerView. Replaced by Jetpack Compose.
  • (Implementing) Coroutine Concurrency design pattern for asynchronous programming.
  • (Upcoming) Flow Stream of value that returns from suspend function.
  • RxJava - Asynchronous programming with observable streams. (Upcoming) Replaced by Coroutine + Flow.
  • Coil - Image loading.
  • Timber - Extensible API for logging.

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.
Popular Coroutine Projects
Popular Rxjava Projects
Popular Control Flow Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Kotlin
Material
Android App
Mvvm
Rxjava
Coroutine
Kotlin Android
Mvvm Architecture
Architecture Components