Skip to content

ShivamKumarJha/supaflix

Repository files navigation

Supaflix

Android online movie player app made with Jetpack Compose and ExoPlayer. It uses Dagger hilt for DI & follows MVVM/MVI architecture. App is only for learning purpose.

Signed APK

Screenshots

HOME HOME Search SearchPaging History
History Settings Detail Detail Player

Application Architecture

Application Architecture Application Architecture Guide

Libraries Used

  • Foundation - Components for core system capabilities, Kotlin extensions and support for multidex and automated testing.
    • AppCompat - Degrade gracefully on older versions of Android.
    • Android KTX - Write more concise, idiomatic Kotlin code.
    • Test - An Android testing framework for unit and runtime UI tests.
  • Architecture - A collection of libraries that help you design robust, testable, and maintainable apps. Start with classes for managing your UI component lifecycle and handling data persistence.
    • Jetpack Compose - Feature that allows you to more easily write code that interacts with views.
    • Lifecycles - Create a UI that automatically responds to lifecycle events.
    • LiveData - Build data objects that notify views when the underlying database changes.
    • Navigation - Handle everything needed for in-app navigation.
    • Room - Access your app's SQLite database with in-app objects and compile-time checks.
    • ViewModel - Store UI-related data that isn't destroyed on app rotations. Easily schedule asynchronous tasks for optimal execution.
  • UI - Details on why and how to use UI Components in your apps - together or separate
    • Animations & Transitions - Move widgets and transition between screens.
    • Fragment - A basic unit of composable UI.
    • Layout - Lay out widgets using different algorithms.
    • Material design - Material is an adaptable system of guidelines, components, and tools that support the best practices of user interface design.
  • Third party and miscellaneous libraries
    • Coil for image loading
    • Accompanist is a group of libraries which aim to supplement Jetpack Compose with features which are commonly required by developers, but not yet available.
    • Hilt: for dependency injection
    • Kotlin Coroutines for managing background threads with simplified code and reducing needs for callbacks
    • Gson is a Java library that can be used to convert Java Objects into their JSON representation.
    • Retrofit - Retrofit is a REST Client library to create an HTTP request and also to process the HTTP response from a REST API.

Android Studio IDE setup

For development, the latest version of Android Studio is required. The latest version can be downloaded from here.

Getting Started

This project uses the Gradle build system. To build this project, use the gradlew build command or use "Import Project" in Android Studio.

For more resources on learning Android development, visit the Developer Guides at developer.android.com.

Support

If you've found an error in this repo, please file an issue.

Patches are encouraged, and may be submitted by making changes in a new branch and submitting a pull request through GitHub.

References

About

Android movie streaming app made with #JetpackCompose. Uses Dagger-Hilt for DI & android architecture components. MVVM/MVI repository pattern.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages