Skip to content

A demo of a grid-like LazyColumn 🧱 in Jetpack Compose πŸ› οΈ, featuring column separators βž–, row dividers 🧡, and overflow-aware text πŸ’¬.

Notifications You must be signed in to change notification settings

halilozel1903/LazycolumnDataGrid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

45 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🎢 Compose Artist List

Compose RecyclerView

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! ✨


πŸš€ Features

  • 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 and di modules
  • Dagger Hilt dependency injection
  • Coil image loading

πŸ“Έ Additional Screens

Initial list
Default artist list view

Age ascending
List sorted by age (ascending)

Age descending
List sorted by age (descending)

Name A-Z
List sorted alphabetically (A-Z)

Name Z-A
List sorted alphabetically (Z-A)

Detail screen
Artist detail page

Architecture
Overall architecture overview


πŸ”§ Getting Started

  1. Clone the repo:
    git clone https://github.com/halilozel1903/LazycolumnDataGrid.git
    cd compose-artist-list
  2. Open in Android Studio Arctic Fox or newer.
  3. Run on emulator or device:
    • API 21+
    • Material 3 theme enabled
  4. Explore the data and domain layers along with PersonViewModel for a full MVVM setup. 🧐

πŸ“‚ Project Structure

β”œβ”€β”€ 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

🀝 Contributing

  1. Fork it! 🍴
  2. Create your feature branch: git checkout -b feature/YourFeature
  3. Commit your changes: git commit -m 'Add awesome feature'
  4. Push to the branch: git push origin feature/YourFeature
  5. Open a Pull Request πŸ“

Donation πŸ’Έ

If this project help πŸ’ you to develop, you can give me a cup of coffee. β˜•

"Buy Me A Coffee"


πŸ“œ License

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.

About

A demo of a grid-like LazyColumn 🧱 in Jetpack Compose πŸ› οΈ, featuring column separators βž–, row dividers 🧡, and overflow-aware text πŸ’¬.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages