Skip to content

DogsApp is an Android application built with Kotlin that displays a grid of random dog images fetched from dog.ceo API.

Notifications You must be signed in to change notification settings

Tarek-Bohdima/DogsApp

Repository files navigation

DogsApp

Android CI

DogsApp is an Android application built with Kotlin that displays a grid of random dog images fetched from dog.ceo API.

Features

  • Fetch random dog images: Loads a set of 50 random dog images from the API.
  • MVVM Architecture: Clean separation of concerns using ViewModel, Repository, and Data classes.
  • Navigation: Users can tap on a dog image to view details in a separate fragment.
  • Swipe to Refresh: Pull-to-refresh to reload new images.
  • Dependency Injection: Powered by Dagger Hilt for scalable and maintainable code.
  • Data Binding & LiveData: UI updates automatically as data changes.
  • Glide Integration: Efficient image loading and caching.

Installation

  1. Clone the repo:
git clone https://github.com/Tarek-Bohdima/DogsApp.git
  1. Open in Android Studio.
  2. Build and run on an emulator or Android device.

Usage

  • Launch the app to see a grid of random dog images.
  • Swipe down to refresh images.
  • Tap on any dog image for a detailed view.

Technologies

  • Kotlin
  • Android Jetpack (ViewModel, LiveData, Navigation)
  • Retrofit & Moshi (Networking & JSON parsing)
  • Dagger Hilt (Dependency Injection)
  • Glide (Image loading)
  • Data Binding

Testing

  • Unit and instrumented tests included in /app/src/test and /app/src/androidTest.

License

Specify your license here if applicable.

About

DogsApp is an Android application built with Kotlin that displays a grid of random dog images fetched from dog.ceo API.

Topics

Resources

Stars

Watchers

Forks

Languages