Skip to content

πŸ”₯ MVVM + Clean Architecture + Best Practices | 🍿Movie Finder is a sample Android application πŸ“±to search movies using OMDb API which is built to demonstrate use of Modern Android development tools - (Kotlin, Coroutines, Kodein, Architecture Components, MVVM, Retrofit, Gson, Material Components) πŸ˜ŠπŸ˜ŠπŸ˜‰

License

Notifications You must be signed in to change notification settings

Shashank02051997/MovieFinderUsingMVVM-Android

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

22 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Movie Finder

Github Followers GitHub stars GitHub forks GitHub watchers Twitter Follow

GitHub pull requests GitHub closed pull requests GitHub last commit GitHub issues Open Source Love

GitHub license platform API Recommend me on LinkedIn

Movie Finder is a sample android application πŸ“±to search movies 🍿using OMDb API which is built to demonstrate use of Modern Android development tools. It has been built using kotlin with clean architecture principles and MVVM pattern as well as Architecture Components. Dedicated to all Android Developers with ❀️.

You can Install and test latest app from below πŸ‘‡

Movie Finder App

About

The app in itself is a simple movie searching app. Clicking the movie list item it shows the detail of the movie. While this is not an extremely complex app, it isn't a silly Hello World one either, so the hope is that it'll cover regular use cases for a basic application.

Sailent Features:

  • Search the movies.
  • View the list of movies based on the search result.
  • View the released date, genre, IMDB rating and short plot.

πŸ“Έ Screenshots

Please click the image below to enlarge.

Built With πŸ› 

  • Kotlin - First class and official programming language for Android development.
  • Coroutines - For asynchronous and more..
  • 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.
  • Koin - Dependency Injection Framework
  • Retrofit - A type-safe HTTP client for Android and Java.
  • GSON - A Java serialization/deserialization library to convert Java Objects into JSON and back.
  • GSON Converter - A Converter which uses Gson for serialization to and from JSON.
  • OkHttp3 - For implementing interceptor, logging and mocking web server.
  • Glide - An image loading and caching library for Android focused on smooth scrolling.
  • Material Components for Android - Modular and customizable Material Design UI components for Android.

Package Structure

com.shashank.moviefindermvvm    # Root Package
.
β”œβ”€β”€ data                # For data handling.
β”‚   β”œβ”€β”€ model           # Model classes
β”‚   β”œβ”€β”€ network         # Remote Data Handlers     
|   β”‚   β”œβ”€β”€ api         # Retrofit API for remote end point.
β”‚   └── repository      # Single source of data.
|
|
β”œβ”€β”€ ui                  # Activity/View layer
β”‚   β”œβ”€β”€ main            # Main Screen Activity & ViewModel
|   β”‚   β”œβ”€β”€ adapter     # Adapter for RecyclerView
|   β”‚   β”œβ”€β”€ viewmodel   # ViewHolder for RecyclerView   
β”‚   └── details         # Detail Screen Activity and ViewModel
|
└── utils               # Utility Classes / Kotlin extensions

Architecture

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

Contributing

Please fork this repository and contribute back using pull requests.

Any contributions, large or small, major features, bug fixes, are welcomed and appreciated but will be thoroughly reviewed .

Contact - Let's become friend

Don't forget to star ⭐ the repo it motivates me to share more open source

Donation

If this project help you reduce time to develop, you can give me a cup of coffee :)

Buy Me A Coffee

License

MIT License

Copyright (c) 2020 Shashank Singhal

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.```

About

πŸ”₯ MVVM + Clean Architecture + Best Practices | 🍿Movie Finder is a sample Android application πŸ“±to search movies using OMDb API which is built to demonstrate use of Modern Android development tools - (Kotlin, Coroutines, Kodein, Architecture Components, MVVM, Retrofit, Gson, Material Components) πŸ˜ŠπŸ˜ŠπŸ˜‰

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages