Daniele B
02/14/2021, 10:05 AMzoha131
02/14/2021, 10:53 AMPreview
composable on real device from android library module
does not work. Is this intended behavior?Timo Drick
02/14/2021, 1:24 PMShakil Karim
02/14/2021, 1:39 PMLazyVerticalGrid(
modifier = Modifier.fillMaxSize(),
cells = GridCells.Fixed(column),
contentPadding = PaddingValues(top = Constants.Padding8dp)
) {
Daniele B
02/14/2021, 3:52 PMjava.lang.NoClassDefFoundError: Failed resolution of: Landroidx/activity/compose/LocalOnBackPressedDispatcherOwner;
at androidx.navigation.compose.NavHostKt.NavHost(NavHost.kt:83)
at androidx.navigation.compose.NavHostKt.NavHost(NavHost.kt:59)
at myapp.android.NavigationKt.Navigation(Navigation.kt:22)
any idea?3bdoelnaggar
02/14/2021, 6:07 PMspierce7
02/15/2021, 1:45 AMMehdi Haghgoo
02/15/2021, 6:19 AMJohan Reitan
02/15/2021, 7:59 AMCircularProgressIndicator
in alpha12. The animation seems to run about 2/3 of the way, then restart. This used to look correctly in earlier versions, and LinearProgressIndicator
doesn’t have this problem. Is this a known issue, or should I report it?Vivek Sharma
02/15/2021, 10:35 AMPiotr Prus
02/15/2021, 11:57 AMBottomSheetScaffold
and encountered one problem. I do not know how to open the bottomSheet to certain value.
Example:
1. The view shows the list
2. User clicks the element in list
3. BottomSheet opens to certain height
4. User drags the sheet up
5. Sheet reveals to full screen
I tried to use BottomSheetScaffoldState.bottomSheetState.expand { }, but this function always open the sheet to full height. I was searching for something like: BottomSheetScaffoldState.bottomSheetState.expandByHalf()
or BottomSheetScaffoldState.bottomSheetState.setAnchor(200.dp)
or similar to this, but no luck.
Anyone knows how to make a mid step for BottomSheet?Ian Warwick
02/15/2021, 12:17 PMViewModel
approach or is there a better way that still has the same benefits (such as surviving state changes) of using VM approach?lewis
02/15/2021, 1:04 PMjava.lang.NullPointerException
at androidx.compose.foundation.gestures.DragGestureDetectorKt.verticalDrag-jO51t88(DragGestureDetector.kt:777)
nglauber
02/15/2021, 2:04 PMjava.lang.NoSuchFieldError: Companion
at androidx.compose.compiler.plugins.kotlin.ComposeComponentRegistrar$Companion.registerProjectExtensions(ComposePlugin.kt:189)
at androidx.compose.compiler.plugins.kotlin.ComposeComponentRegistrar.registerProjectComponents(ComposePlugin.kt:119)
at org.jetbrains.kotlin.cli.jvm.compiler.KotlinCoreEnvironment$Companion.registerExtensionsFromPlugins$cli(KotlinCoreEnvironment.kt:566)
at org.jetbrains.kotlin.cli.jvm.compiler.KotlinCoreEnvironment$ProjectEnvironment.registerExtensionsFromPlugins(KotlinCoreEnvironment.kt:129)
at org.jetbrains.kotlin.cli.jvm.compiler.KotlinCoreEnvironment.<init>(KotlinCoreEnvironment.kt:169)
at org.jetbrains.kotlin.cli.jvm.compiler.KotlinCoreEnvironment.<init>(KotlinCoreEnvironment.kt:109)
at org.jetbrains.kotlin.cli.jvm.compiler.KotlinCoreEnvironment$Companion.createForProduction(KotlinCoreEnvironment.kt:421)
at org.jetbrains.kotlin.cli.jvm.K2JVMCompiler.createCoreEnvironment(K2JVMCompiler.kt:226)
at org.jetbrains.kotlin.cli.jvm.K2JVMCompiler.doExecute(K2JVMCompiler.kt:152)
at org.jetbrains.kotlin.cli.jvm.K2JVMCompiler.doExecute(K2JVMCompiler.kt:52)
at org.jetbrains.kotlin.cli.common.CLICompiler.execImpl(CLICompiler.kt:88)
at org.jetbrains.kotlin.cli.common.CLICompiler.execImpl(CLICompiler.kt:44)
at org.jetbrains.kotlin.cli.common.CLITool.exec(CLITool.kt:98)
at org.jetbrains.kotlin.incremental.IncrementalJvmCompilerRunner.runCompiler(IncrementalJvmCompilerRunner.kt:371)
at org.jetbrains.kotlin.incremental.IncrementalJvmCompilerRunner.runCompiler(IncrementalJvmCompilerRunner.kt:105)
at org.jetbrains.kotlin.incremental.IncrementalCompilerRunner.compileIncrementally(IncrementalCompilerRunner.kt:249)
at org.jetbrains.kotlin.incremental.IncrementalCompilerRunner.access$compileIncrementally(IncrementalCompilerRunner.kt:38)
at org.jetbrains.kotlin.incremental.IncrementalCompilerRunner$compile$2.invoke(IncrementalCompilerRunner.kt:80)
at org.jetbrains.kotlin.incremental.IncrementalCompilerRunner.compile(IncrementalCompilerRunner.kt:92)
at org.jetbrains.kotlin.daemon.CompileServiceImplBase.execIncrementalCompiler(CompileServiceImpl.kt:602)
at org.jetbrains.kotlin.daemon.CompileServiceImplBase.access$execIncrementalCompiler(CompileServiceImpl.kt:93)
at org.jetbrains.kotlin.daemon.CompileServiceImpl.compile(CompileServiceImpl.kt:1644)
...
I’m using Android Studio Arctic Fox | 2020.3.1 Canary 6 with these lib versions…Vivek Sharma
02/15/2021, 2:53 PMSe7eN
02/15/2021, 3:09 PMLazyColumn
inside an AlertDialog
and the title and the buttons of the dialog go outside the screen when the content in LazyColumn
is large enough. Is there a way to have some padding around the dialog so the title and the buttons are always visible? Modifier.padding
on the AlertDialog
doesn't workShakil Karim
02/15/2021, 3:42 PMmanueldidonna
02/15/2021, 4:07 PMScrollableTabRow
after a swipe using alpha12. In alpha9 the scroll was ok.
BottomSheetScaffold has the same weird behavior on swipe
edit: I've created an issue in the trackerJeremy
02/15/2021, 4:44 PMvectorResource
was deprecated with recommendation to use painterResource
which creates Painter. How to convert Painter
to ImageVector
?gbaldeck
02/15/2021, 5:14 PMmanueldidonna
02/15/2021, 6:12 PMBitmapPainter
and I need to disable the antialiasingBig Chungus
02/15/2021, 6:31 PMsemoro
02/15/2021, 6:41 PMnatario1
02/15/2021, 10:28 PMjava.lang.IllegalStateException: Use active SlotWriter to determine anchor location instead
at androidx.compose.runtime.SlotTable.anchorIndex(SlotTable.kt:198)
at androidx.compose.runtime.Anchor.toIndexFor(SlotTable.kt:466)
at androidx.compose.runtime.Composer.invalidate$runtime_release(Composer.kt:1927)
at androidx.compose.runtime.RecomposeScopeImpl.invalidateForResult(RecomposeScopeImpl.kt:111)
at androidx.compose.runtime.RecomposeScopeImpl.invalidate(RecomposeScopeImpl.kt:117)
at androidx.compose.foundation.text.CoreTextFieldKt$CoreTextField$onValueChangeWrapper$1.invoke(CoreTextField.kt:234)
at androidx.compose.foundation.text.CoreTextFieldKt$CoreTextField$onValueChangeWrapper$1.invoke(Unknown Source:3)
at androidx.compose.foundation.text.TextFieldDelegate$Companion.onBlur$foundation_release(TextFieldDelegate.kt:283)
at androidx.compose.foundation.text.CoreTextFieldKt.notifyTextInputServiceOnFocusChange(CoreTextField.kt:664)
at androidx.compose.foundation.text.CoreTextFieldKt.access$notifyTextInputServiceOnFocusChange(Unknown Source:0)
Zach Klippenstein (he/him) [MOD]
02/16/2021, 12:41 AMJason Ankers
02/16/2021, 3:27 AMBottomSheetScaffold
with the navigation component? My app consists of a typical bottom-tab layout which is using Scaffold bottomBar = { .. }
like in the docs, but I want to launch bottom sheets from inside my tabs. The sheets should overlay on top of the bottom tabs and I would like to be able to call navController.navigate(..)
to open them. Anyone know of any example apps which have achieved this?eygraber
02/16/2021, 3:33 AMModifier.shortcuts
for text navigation?Yuri Drigin
02/16/2021, 8:28 AMandroid:windowSoftInputMode="adjustResize"
and Scaffold { padding ->
works properly together? Or there exists anther way to adjusting size?Vivek Sharma
02/16/2021, 10:28 AMYuri Drigin
02/16/2021, 11:20 AMYuri Drigin
02/16/2021, 11:20 AMpawegio
02/16/2021, 11:30 AMcomposables
in NavHost
, then it’s still awaiting feature… Star this issue for updates: https://issuetracker.google.com/issues/172112072Yuri Drigin
02/16/2021, 11:37 AM