urban-octo-jetpack-compose
This repository contains all the samples that helps in learning how jetpack compose improves in designing the UI framework in native android
π³ππππ
Image card |
Styling text |
State in Compose |
Simple form |
|
|
|
|
List view |
ConstraintLayout |
SideEffect |
JetpackNavigation |
|
|
|
|
Meditation UI |
|
π»ππππππππ
- Adding a gradient
- Creating rounded corners
- Placing one view on top of another
- Giving
custom font
for a text
Styling
parts of text with different style and color
- Underlyning a text
- Using states in compose to modify a text on an action
- Lifting up the states without affecting recomposition
- Using a
scaffold
- Displaying a
snackbar
on a button action
by fetching the text from a input
- Using
rememberCoroutineScope
to show a snackbar
- Displaying a
list using a column
and making it scrollable
- Displaying a
list using a lazyColumn
using itemsIndexed
and performing onClick
- Simple example of using a
constraint layout
in compose
- Different ways of handeling
side-effects
in jetpack compose.
- Using the compose navigation for navigating from one screen to another and passing the data between them