A Jetpack Compose sample app that renders a list of artists in a clean, card-based layout. Each item shows an image, age, name, country and music genre. Perfect for demos, tutorials, or as a starting point for your own Compose lists! β¨
- Modern card layout with artist photos
- Multi-line support: long names and genres wrap into new lines
- Dynamic data: loaded via a repository pattern
- Material 3 typography & theming
- Previewable UI with
@Preview
functions - MVVM architecture powered by Flow and Coroutines
- Clean Architecture separation with
domain
,data
anddi
modules - Dagger Hilt dependency injection
- Coil image loading
List sorted by age (ascending)
List sorted by age (descending)
List sorted alphabetically (A-Z)
List sorted alphabetically (Z-A)
- Clone the repo:
git clone https://github.com/halilozel1903/LazycolumnDataGrid.git cd compose-artist-list
- Open in Android Studio Arctic Fox or newer.
- Run on emulator or device:
- API 21+
- Material 3 theme enabled
- Explore the
data
anddomain
layers along withPersonViewModel
for a full MVVM setup. π§
βββ app/
β βββ src/main/
β β βββ AndroidManifest.xml
β β βββ assets/people.json
β β βββ java/com/halil/ozel/recyclerviewsample/
β β βββ data/ # Repository implementation
β β βββ di/ # Hilt modules
β β βββ domain/ # Repository interfaces
β β βββ ui/theme/ # Compose theme definitions
β β βββ CustomItem.kt
β β βββ EmojiUtils.kt
β β βββ MainActivity.kt
β β βββ MyApplication.kt
β β βββ Person.kt
β β βββ PersonViewModel.kt
β βββ src/androidTest/ # Instrumentation tests
β βββ src/test/ # Unit tests
βββ gradle/ # Wrapper and version catalog
βββ build.gradle.kts # Root Gradle build file
βββ settings.gradle.kts # Module declarations
βββ gradlew & gradlew.bat # Gradle wrappers
βββ README.md # β you are here!
βββ *.png # App screenshots
- Fork it! π΄
- Create your feature branch:
git checkout -b feature/YourFeature
- Commit your changes:
git commit -m 'Add awesome feature'
- Push to the branch:
git push origin feature/YourFeature
- Open a Pull Request π
If this project help π you to develop, you can give me a cup of coffee. β
MIT License
Copyright (c) 2025 Halil OZEL
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.