A simple and fun Android app that displays random dog images from an API with smooth animations and a clean MVVM architecture.
- KOTLIN Use Android Official Language
- XML layouts for UI design
- Retrofit for API communication
- Glide for image loading and caching
- Lottie Animation for a fun animated splash screen
- MVVM Architecture for clean separation of concerns
- Serialization to handle data models
- ViewModel and MutableLiveData for UI updates
- Display random dog images from an API.
- Smooth image loading with Glide.
- Clean MVVM architecture.
- Eye-catching Lottie animation during startup [Splash Screen]
Dogs.API.App.mp4
Enjoy Preview with Volume ON.
-
Clone the repository:
git clone https://github.com/yagmurerdogan/Doggy-App.git
-
Open the project in Android Studio.
-
Add your API key (if required by the service) in the
build.gradle
or strings.xml. -
Build and run the app on your emulator or device.
The app follows the MVVM architecture to ensure code maintainability and separation of concerns:
- Model: Represents the data structure (dog image model).
- View: The activity/fragment that interacts with the user.
- ViewModel: Holds and processes the UI data, communicates with the repository.
- Repository: Handles data fetching (from network or cache).
Feel free to fork the repository, raise new issues and add improvements, and create pull requests.