Jetpack-Compose-Tutorials icon indicating copy to clipboard operation
Jetpack-Compose-Tutorials copied to clipboard

🚀🧨📝 Series of Tutorials to learn about Jetpack Compose with subjects Material Widgets, Layout, SubcomposeLayout, custom layouts, State, custom rememberable, recomposition, LaunchedEffect, side-effe...

Results 8 Jetpack-Compose-Tutorials issues
Sort by recently updated
recently updated
newest added

java.lang.IllegalStateException: The offset was read before being initialized. Did you access the offset in a phase before layout, like effects or composition? at androidx.compose.material.AnchoredDraggableState.requireOffset(AnchoredDraggable.kt:214) at androidx.compose.material.ModalBottomSheetKt$ModalBottomSheetLayout$2$3.invoke-Bjo55l4(ModalBottomSheet.kt:622) at androidx.compose.material.ModalBottomSheetKt$ModalBottomSheetLayout$2$3.invoke(ModalBottomSheet.kt:618) at androidx.compose.foundation.layout.OffsetPxNode$measure$1.invoke(Offset.kt:247)...

[how-to-put-a-lazyverticalgrid-inside-a-scrollable-column](https://stackoverflow.com/questions/67919707/jetpack-compose-how-to-put-a-lazyverticalgrid-inside-a-scrollable-column) when item count = 500, maybe have some problems in scroll ``` @Preview(showBackground = true) @Composable private fun Test() { Column( modifier = Modifier .fillMaxSize() .verticalScroll(rememberScrollState()) ) { Box(modifier...

in Tutorial2_10Screen1: When I expand SheetContent quickly, it pops up at the bottom (maybe should be called "Fling"), showing some MainContent area. I want SheetContent to expand to its maximum...

![image](https://github.com/SmartToolFactory/Jetpack-Compose-Tutorials/assets/22768714/ddb28bd7-50da-47a0-b5c4-d41c6c81e598) ![image](https://github.com/SmartToolFactory/Jetpack-Compose-Tutorials/assets/22768714/f3c3e5d0-1b6b-4c78-b320-f7a7d466e5df) About Composable GridSnackCardWithTitle, I thought they were the same height, but they're not. Maybe the baseline should be considered. or use Modifier.layout ?

It would be nice to add links on github/README.md to specific file that tutorial points to. If anyone would like to do this it's very appreciated.

help wanted

I'm facing the error when build gradle for this project : `[Task 'prepareKotlinBuildScriptModel' not found in project ':app'](https://stackoverflow.com/questions/64290545/task-preparekotlinbuildscriptmodel-not-found-in-project-app)` To fix this issue please import this line to `build.gradle(Module.app)` file :...

## Description Compose Previews are Missing ## Solution Add Compose Previews. **Note:** I am willing to do the work and submit a PR.

When I try to complete a Gradle Sync in Android Studio, the sync fails with this error: ```none * Where: Build file 'Jetpack-Compose-Tutorials\Tutorial1-1Basics\build.gradle.kts' line: 1 * What went wrong: An...