Giter VIP home page Giter VIP logo

imgur_gallery's Introduction

Imgur Gallery

Search the top images of the week from Imgur Gallery

Feature

  • Search the top images of the week
  • View the search result in grit or list

Developer Setup

  • Android Studio Jellyfish
  • Gradle Version: 8.6
  • Android Gradle Plugin: 8.4.0-alpha09
  • Kotlin Version: 1.9.21
  • JVM Version: 17

Build and Testing

Build:

APK Path: imgur_gallery/app/build/outputs/apk/release

./gradlew assembleRelease
Testing:
./gradlew testDebug
Lint:
./gradlew lint

Assumption

The Imgur Gallery API odes not provide a fixed page size during search.
It is assumed that the device will display not more than 25 items.

TODO

  • Improve error handling
  • Improve loading state of items in pagination
  • Add next page loading state
  • Performance optimization
  • Static code analysis

Application Architecture

The application architecture is designed using multi-modular approach.
This has the following advantages :

  • Easy task distribution
  • Scalable and maintainable application
  • Low build time by using parallel build process
  • Easy to test and generate reposts

Architecture structure :

  • app: The main application
  • core:module: The application models
  • core:common: A common sharable code used across all the app and modules
  • core:network: Network client and API configuration and setup
  • core:data: Single source of truth for data
  • core:domain: Use case based on features
  • feature:gallery: Display top images of the week

Library:

  • Jetpack Compose
  • Dagger Hilt
  • Kotlin Serialization
  • Kotlin Coroutines
  • Retfofit Okhttp
  • Paging 3
  • Coil
  • Robolectric
  • Turbine
  • JUnit4

imgur_gallery's People

Contributors

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