๐ผ๏ธ A dynamic, aspect-ratio-aware masonry image grid and note card layout built with Jetpack Compose.
โจ Uses a smart modulo algorithm for clean and balanced row arrangements.
Features
- ๐ Dynamic grid based on image count
- ๐ง Aspect-ratio-aware sizing
- ๐งฑ Masonry-style note cards
- ๐ข Smart modulo row arrangement
- ๐ Jetpack Compose preview cases
Screenshots
| Editor Image Grid | Notes Staggered Grid |
|---|---|
|
|
Project Structure
- ๐ผ๏ธ
EditorImageGrid.ktโ Editor image grid - ๐๏ธ
NotesGridAndCard.ktโ Notes grid and card layout - ๐ฆ
Models.ktโ Data models - ๐งช
MockData.ktโ Preview mock data - ๐๏ธ
EditorPreviews.ktโ Editor preview cases - ๐งญ
GridPreviews.ktโ Grid preview cases - ๐
MainActivity.ktโ App entry point
Tech Stack
- ๐ Kotlin
- ๐จ Jetpack Compose
- ๐ Coil 3