-
Sync list on a LazyColumn after adding and deleting items.
-
Using TopAppBar, Button with an icon, built-in icons.
-
Filling up the whole remaining space by an UI element.
-
Hiding keyboard on enter press and on button click.
-
Case insensitive check for a word on a list.
-
Make a word sentence case.
-
Allow entering only letters on the TextField.
-
TopAppBar icon change on click (ascending/descending order).
-
Delete items from LazyColumn on click.
-
Show leading icon on TextField.
-
Show trailing icon on TextField based on error.
-
Show separate error message with TextField based on error.
-
FIXME: Strange sorting bug. Keeps the new words separate while sorting.
// Compose ViewModel
implementation "androidx.lifecycle:lifecycle-viewmodel-compose:1.0.0-alpha07"
// Compose LiveData (StackOverflow)
implementation "androidx.compose.runtime:runtime-livedata:$compose_version"