Skip to content
プロジェクト

piashcse/Hilt-MVVM-Compose-Movie

GitHubで見る

概要

Movie World 📱は、Jetpack Compose、Hilt、Coroutines、Flow、Room、ViewModelを使って構築されたAndroidアプリです。Google推奨のMVVMアーキテクチャを採用し、Android開発向けに整理され、拡張性と保守性に優れたコードベースを提供します。

開発ツール

この数値の測り方

できること

  • 🔍 Movie Search
  • 🔍 Movie Detail
  • 🎯 Recommended Movie
  • ❤️ Favorite Movie in room DB

計測したスター増加

24時間
0
7日間
-1
15日間
-1
1か月
履歴を収集中

期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。

Movie World (Jetpack Compose)

Jetpack Compose Navigation 3 badge-Android API Kotlin Gradle AGP GitHub license License

Movie World app built with Jetpack Compose, Navigation 3, Hilt, Coroutines, Flow, Room and ViewModel based on MVVM architecture. The app follows the architecture to ensure clean, maintainable code and delivers a responsive, modern UI experience, leveraging The Movie DB API.

Main Features

  • Movie
    • 🎞 Movie List
    • 🔍 Movie Search
    • 🔍 Movie Detail
    • 🎯 Recommended Movie
    • ❤️ Favorite Movie in room DB
  • TV Series
    • 📺 TV Series List
    • 🔍 TV Series Search
    • 🔍 TV Series Detail
    • 🎯 Recommended TV Series
    • ❤️ Favorite TV Series in room DB
  • Celebrities
    • 👥 Popular Celebrities
    • 🔥 Trending Celebrities
    • 🔍 Celebrity Search
  • 👤 Artist detail
  • 🎛 Filter with genre
  • 📄 Pagination with paging3
  • 🧭 Bottom navigation
  • 🌐 Network connection state with SnackBar

Architecture 🏗️

  • MVVM Architecture (Model - ComposableView - ViewModel)
  • Repository pattern

Fig. MVVM (Model - ComposableView - ViewModel) design pattern.

API Key 🔑

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

  • Generate a new key (v3 auth) from here.
  • Provide the key in one of the following places (first match wins):
    1. local.properties (not committed):
      TMDB_API_KEY=your_key_here
      
    2. A Gradle property: -PTMDB_API_KEY=your_key_here or in ~/.gradle/gradle.properties.
    3. The TMDB_API_KEY environment variable (used by CI secrets).

The key is exposed to the app as BuildConfig.API_KEY; no source file needs to be edited.

Built With 🛠

  • Kotlin - First class and official programming language for Android development.
  • Jetpack Compose - Jetpack Compose is Android's modern toolkit for building native UI.
  • Navigation 3 - Android's next-generation navigation library built around a back stack you own.
  • Coroutines - For asynchronous and more..
  • Flow - A cold asynchronous data stream that sequentially emits values and completes normally or with an exception.
  • Android Architecture Components - Collection of libraries that help you design robust, testable, and maintainable apps.
    • LiveData - Data objects that notify views when the underlying database changes.
    • ViewModel - Stores UI-related data that isn't destroyed on UI changes.
    • Paging3 - The Paging library helps you load and display pages of data from a larger dataset from local storage or over network
  • Dependency Injection
    • Hilt - Easier way to incorporate Dagger DI into Android apps.
  • Room - The Room database provides an abstraction layer over SQLite to allow fluent database access while harnessing the full power of SQLite
  • Retrofit - A type-safe HTTP client for Android and Java.
  • Material Components for Android - Modular and customizable Material Design UI components for Android.
  • Timber - A logger with a small, extensible API which provides utility on top of Android's normal Log class.

👨 Developed By

Mehedi Hassan Piash

Twitter Medium Linkedin Web Blog

License

Copyright 2024 piashcse (Mehedi Hassan Piash)

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

関連プロジェクトを探す

読み込み中…