Simple ImageGallery app built by using OpenAI's Dall-E-AI api, MVVM & JetPack Compose
ImageGallery Compose is a sample Image Gallery app where you can see images created by DALL-E-AI also you can generate images by writing prompts.
-
Dall-E-AI - DALL·E 2 is a new AI system that can create realistic images and art from a description in natural language. (I'm using APIs which are created by one of my friend Soham. He has created APIs which uses DALL-E-AI api to create images and store in the database. You can check his repository Dall-E-AI api)
-
Jetpack Compose - Jetpack Compose is Android’s modern toolkit for building native UI.
-
Kotlin - First class and official programming language for Android development.
-
Coroutines - For asynchronous and more..
-
MutableState - MutableState is an alternative to using LiveData or Flow.
-
Android Architecture Components - Collection of libraries that help you design robust, testable, and maintainable apps.
- ViewModel - Stores UI-related data that isn't destroyed on UI changes.
-
-
Hilt-Dagger - Standard library to incorporate Dagger dependency injection into an Android application.
-
Hilt-ViewModel - DI for injecting
ViewModel
.
-
-
Material Components for Android - Modular and customizable Material Design UI components for Android.
-
Coil - An image loading library for Android backed by Kotlin Coroutines.
dev.abhaycloud.imagegallerycompose # Root Package
├── api # Retrofit API for remote end point
|
├── di # Dependency Injection
│
|── model # Model classes
|
|── repository # Single source of data
|
├── ui
| ├── theme # Manage Themes: Color, Shape, Theme and Type.
│ ├── home # HomeScreen composable & viewModel
│ ├── create # CreateScreen composable & viewModel
| ├── navigation # Navigating with Compose
|
└── utils # Utility Classes
This app uses MVVM (Model View View-Model) architecture.
This app is in under development. There are few things that needs to get fixed. If you want to contribute to this app, you're always welcome!
Project is published under the Apache 2.0 license. Feel free to clone and modify repository as you want, but don't forget to add reference to authors.
If you have any difficulty then just message me on Instagram or LinkedIn.