Updates for the Food2ForkCompose app from alpha-11 to beta01.
- kotlin ->
1.4.30- Make sure Kotlin is updated to early version
- Settings > Languages and Frameworks > Kotlin > Early Access Preview 1.4.x
- kotlin_compiler_extension ->
1.0.0-beta01 - compose ->
1.0.0-beta01(from alpha11) - navigation-compose ->
1.0.0-alpha08(from alpha06) - Add
const val compose_constraint = "1.0.0-alpha03"androidx.compose.foundation.layout.ConstraintLayoutwas deprecated in favor ofandroidx.constraintlayout.compose.ConstraintLayout
- Add
const val compose_activity = "1.3.0-alpha03"androidx.activity:activity-compose:1.3.0-alpha03is released and is only compatible with compose beta01.
- Add
androidx.constraintlayout:constraintlayout-compose:${Versions.compose_constraint} - Add
androidx.activity:activity-compose:${Versions.compose_activity}
- MainActivity
- New import for
viewModel()builder function (import androidx.lifecycle.viewmodel.compose.viewModel AmbientContext->LocalContextsetContenthas new import (import androidx.activity.compose.setContent)
- New import for
- CircularIndeterminateProgressBar
- imports
- DefaultSnackbar
- Snackbar has changed.
textfield renamed tocontent
- Snackbar has changed.
- LoadingRecipeListShimmer
AmbientDensity->LocalDensity
- LoadingRecipeShimmer
preferredSizeis deprecated. Replace withheight
- NothingHere
fontSize = 55.sp
- RecipeCard
preferredSizeis deprecated. Replace withheight
- RecipeView
preferredSizeis deprecated. Replace withheight
- SearchAppBar
- TextField
- new
colorsattribute (backgroundColordeprecated) onImeActionPerformeddeprecated- Replaced with
keyboardActions
- Replaced with
- new
- TextField
- Keyboard
SoftwareKeyboardControllerexists now
- ShimmerRecipeCardItem
preferredSize->height
- Theme
- Experimental annotation
- RecipeDetailScreen
- Experimental annotation
- ImageUtils
AmbientContext->LocalContext