Shivam Sethi
05/13/2021, 7:34 AMRoman Polach
05/13/2021, 11:50 AMpawegio
05/13/2021, 12:40 PMCircularProgressIndicator
in recent beta06? It compiles fine, preview also works and it just fails in editor/kotlin frontend.Colton Idle
05/13/2021, 12:52 PMColumn(
horizontalAlignment = Alignment.CenterHorizontally,
Daniele B
05/13/2021, 1:16 PMrobnik
05/13/2021, 5:44 PMSwipeToDismiss
? The example here does not show it. I'm trying LaunchedEffect(dismissState.currentValue) {...}
, but there is a little delay that I don't like. More in thread...allan.conda
05/13/2021, 6:24 PMallan.conda
05/13/2021, 6:32 PMalexsullivan114
05/13/2021, 7:19 PMdata class Like(val count: Int)
And some composable that renders the like count:
@Composable
fun LikeText(like: Like) {
Text("${like.count}"
}
I want to trigger some animation if the like.count value has changed. How would I go about doing that?Nat Strangerweather
05/13/2021, 8:11 PMnglauber
05/14/2021, 12:26 AMnavController
to all my screens (of course if I want to navigate to somewhere else from that screen)?
Should I create a compositionLocalOf
for it?Tolriq
05/14/2021, 7:00 AMAlexa_Gal
05/14/2021, 8:34 AMlaunchSingleTop = true
. if i only run the 3 screens NavigationBar screen without any page before on the stack they are NOT recomposed every time i change the tab. have any of you seen this issue before?YASAN
05/14/2021, 10:06 AMAdrian Landborn
05/14/2021, 1:15 PMandrew
05/14/2021, 1:23 PMMichal Klimczak
05/14/2021, 2:59 PMSlider
except for colors? I mean adding custom track and thumb drawables. Or at the very least change the track thickness? Didn't find a way, didn't find an issue tracker either, should I report or it's not planned?Lucien Guimaraes
05/14/2021, 3:24 PMharry248
05/14/2021, 6:29 PMAttempt to invoke virtual method 'androidx.navigation.NavDestination$DeepLinkMatch androidx.navigation.NavGraph.matchDeepLink(androidx.navigation.NavDeepLinkRequest)' on a null object reference"
exception. Anyone experiencing the same issue?spencer
05/14/2021, 7:14 PMAlex Vanyo
05/14/2021, 7:31 PMSignInScreen
in Jetsurvey
.
The sign-in button is only enabled when the emailState
and passwordState
are deemed valid, which works most of the time.
However, suppose email
is valid, so the button is enabled. If the email
is updated to become invalid just before the sign-in button is tapped (but within the same frame), onSignInSubmitted
will be called with the invalid email
, bypassing the validation.eschrag
05/14/2021, 8:11 PM<vector>
resource and extract the path in order to make a shape?Colton Idle
05/14/2021, 9:07 PMsetContent{ }
? In order to do this it looks like I'll have to use AndroidView
to host a FragmentContainerView
. Or does this all seem like a bad idea and should I just keep my 10 lines of xml for the activity layout. 😅Colton Idle
05/15/2021, 2:41 AMTracy Chou
05/15/2021, 2:47 AMms
05/15/2021, 3:00 AMMutableStateFlow
?
using Compose beta06
Details in 🧵Alexander Karkossa
05/15/2021, 11:26 AMnavigation-compose
and hiltViewModel
. Any ideas, why my example never gets a result?
The savedStateHandle
within my viewModel
never gets the result value. I only get the result directly from navBackStackEntry.savedStateHandle
.
Example in second postZhelyazko Atanasov
05/15/2021, 3:17 PMOutlinedTextField
, in particular the case where the input value
is of type String
. The code is defining a mutable state called textFieldValueState
and that's expected. But why do we need another variable - textFieldValue
that's set as a value of the inner OutlinedTextField
? Why are we not using textFieldValueState
as usual?eschrag
05/15/2021, 3:41 PMAndre
05/15/2021, 6:27 PMAndre
05/15/2021, 6:27 PMSe7eN
05/15/2021, 7:54 PM1.4.3
?Andre
05/15/2021, 8:16 PMval commonMain by getting {
dependencies {
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.3-native-mt") {
version {
strictly("1.4.3-native-mt")
}
}
}
}
Build fails with:
Execution failed for task ':androidApp:checkDebugAarMetadata'.
> Could not resolve all files for configuration ':androidApp:debugRuntimeClasspath'.
> Could not resolve org.jetbrains.kotlinx:kotlinx-coroutines-core:{strictly 1.4.3-native-mt}.
Required by:
project :androidApp > project :shared
> Cannot find a version of 'org.jetbrains.kotlinx:kotlinx-coroutines-core' that satisfies the version constraints:
Dependency path 'MyApp:androidApp:unspecified' --> 'MyApp:shared:unspecified' (debugRuntimeElements) --> 'org.jetbrains.kotlinx:kotlinx-coroutines-core:{strictly 1.4.3-native-mt}'
Dependency path 'MyApp:androidApp:unspecified' --> 'androidx.compose.ui:ui:1.0.0-beta06' (releaseRuntimePublication) --> 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.3'
Dependency path 'MyApp:androidApp:unspecified' --> 'androidx.compose.runtime:runtime:1.0.0-beta06' (releaseRuntimePublication) --> 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.4.3' (runtimeElements) --> 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.3'
Dependency path 'MyApp:androidApp:unspecified' --> 'androidx.compose.ui:ui:1.0.0-beta06' (releaseRuntimePublication) --> 'androidx.compose.animation:animation-core:1.0.0-beta06' (releaseRuntimePublication) --> 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.3'
Can someone point me in the right direction ? 🙏val commonMain by getting {
dependencies {
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.3-native-mt") {
isForce = true
}
}
}
ste
05/15/2021, 10:12 PMAndre
05/15/2021, 11:14 PM