/Showify

Showify is a my first simple ✅ Android application 📱 using DI, where I learn how to use dagger-hilt, retrofit2, mvvm, livedata, Requestly Interceptor and so much more...

Primary LanguageKotlinMIT LicenseMIT

Showify

Build Lint

GitHub license ktlint Twitter Follow

Showify is a my first simple ✅ Android application 📱 using DI, where I learn how to use dagger-hilt, retrofit2, mvvm, livedata, Requestly Interceptor and so much more...

You can Install and test Showify app from below 👇

Showify

⚙️ Features

  • Show all latest, upcoming TV shows from TV Maze

🚀 Technology Used

  • Showify built using Kotlin
  • MVVM Architecture Android
  • Dependency Injection (Dagger-Hilt)
  • View and Data Binding
  • Retrofit2 , OkHttpclient
  • Livedata
  • Coroutine Lifecycle Scopes
  • Requestly Interceptor

🎥 Preview

showify.mp4

📸 Screenshots

Showify Screenshot_2022-05-31-12-23-27-332_com android camera Screenshot_2022-05-31-12-22-58-343_com example diseasedetection

Built With 🛠

  • Kotlin - First class and official programming language for Android development.
  • 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.
    • ViewBinding - Generates a binding class for each XML layout file present in that module and allows you to more easily write code that interacts with views.
  • Dependency Injection -
    • Hilt-Dagger - Standard library to incorporate Dagger dependency injection into an Android application.
    • Hilt-ViewModel - DI for injecting ViewModel.
  • Material Components for Android - Modular and customizable Material Design UI components for Android.
  • Retrofit - Retrofit is a type-safe REST client for Android, Java and Kotlin developed by Square. The library provides a powerful framework for authenticating and interacting with APIs and sending network requests with OkHttp.
  • Coroutine Lifecycle Scopes - Its helps you to manage when your coroutines should run. Each asynchronous operation runs within a particular scope.
  • Requestly Interceptor - Requestly Android Interceptor lets you debug your android apps without needing you to setup any proxies or install any certificates everytime. All it requires is a one time setup of 3 lines of code.

Package Structure

com.mohit.showify    # Root Package
.
├── data                # For data handling.
│   └── repository      # Single source of data.   
|
├── di                  # Dependency Injection             
|
├── ui                  # Activity/View layer
│   ├── viewmodel       # ViewModels
│   └── adapter         # Adpaters
│   └── fragment        # Fragnents
|
└── utils               # Utility Classes / Kotlin extensions

Architecture

This app uses MVVM (Model View View-Model) architecture.

architecture

License

MIT License

Copyright (c) 2022 Mohit Gupta

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.