Code Monkey home page Code Monkey logo

moviesearch's Introduction

MovieSearch

Overview

The Movie Search App is an Android application developed using the MVVM architecture, Retrofit for REST API integration, ViewBinding for efficient UI binding, and Navigation Component for navigation between screens. The app allows users to search for movies, view a paginated list of results, and access detailed information about each movie.

Screenshots

Movie List Screen

Movie List Movie List: Users can search for movies and view a paginated list of results.

Movie Detail Screen

Movie Detail Movie Detail: Users can access detailed information about each movie.

Features

  • MVVM Architecture: Utilizes the Model-View-ViewModel architecture for a clean and modular code structure.

  • Movie Search: Users can search for movies by entering keywords.

  • Pagination: Implements pagination for displaying a large number of movie results.

  • Movie Detail Page: Provides a detailed view of each selected movie.

  • REST API Integration: Uses Retrofit for efficient communication with the movie database.

  • Network State Handling: Manages network states to provide a seamless user experience.

  • ViewBinding: Utilizes ViewBinding for efficient and type-safe UI binding.

  • Plugins:

    • com.android.application
    • org.jetbrains.kotlin.android
    • kotlin-kapt
    • androidx.navigation.safeargs

Project Structure

The project structure includes the following main components:

  1. MovieListFragment: Displays a paginated list of movies based on the search query.

  2. MovieDetailFragment: Shows detailed information about a selected movie.

  3. MovieViewModel: Manages UI-related data and communication between the UI and repository.

  4. MovieRepository: Handles data operations, including fetching data from the network.

  5. Retrofit: Used for making network requests to the movie database.

  6. Glide: Used for efficient loading and caching of movie images.

  7. Coroutines: Uses Kotlin Coroutines for asynchronous programming.

Usage

  1. Clone the repository:

    git clone https://github.com/SushmitSingh/MovieSearch.git
  2. Open the project in Android Studio.

  3. Build and run the app on your Android device or emulator.

  4. Search for Movies: Use the search feature on the Movie List screen to find movies.

  5. View Movie Details: Tap on a movie in the list to view detailed information.

moviesearch's People

Contributors

sushmitsingh avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.