• Vivek Sharma

    Vivek Sharma

    1 year ago
    I am having two Text()composable in a
    column
    , can I control the vertical spacing between them, is there a way
    Vivek Sharma
    Zach Klippenstein (he/him) [MOD]
    6 replies
    Copy to Clipboard
  • k

    kevindmoore

    1 year ago
    I’m trying to create a Kotlin Multiplatform Compose app and having all kinds of build problems. Is there an example I can start with? Not sure if it is due to the latest alpha
    k
    1 replies
    Copy to Clipboard
  • m

    mzgreen

    1 year ago
    https://twitter.com/AndroidDev/status/1363207926580711430?s=19 Does this language have a name? Is it Koxml? 😀
    m
    jim
    +3
    8 replies
    Copy to Clipboard
  • Halil Ozercan

    Halil Ozercan

    1 year ago
    would it be possible that passing instances whose source code is in java confuse the composition? even when those parameters are wrapped with a kotlin class? I have a setup which includes an AndroidView where it is very easy reproduce that java and kotlin classes behave differently.
    Halil Ozercan
    2 replies
    Copy to Clipboard
  • s

    Slackbot

    1 year ago
    This message was deleted.
    s
    Arkadii Ivanov
    +1
    3 replies
    Copy to Clipboard
  • Adriano Celentano

    Adriano Celentano

    1 year ago
    Im animating my sine curve indefinetly horizontaly, any better ideas how to do it ?
    LaunchedEffect(key1 = Unit, block = {
        while (isActive) {
            delay(50)
            horizontalAnimation.value = horizontalAnimation.value + 2.dp
        }
    })
    Adriano Celentano
    Adam Powell
    +2
    11 replies
    Copy to Clipboard
  • Shakil Karim

    Shakil Karim

    1 year ago
    Is it expected Behavior to recompose the items of LazyColumn on each scroll event ? I was try to log the composition count
    LazyColumn(
        state = scrollState,
        modifier = Modifier.fillMaxSize()
    ) {
        item {
            LogCompositions("CompetitionDetailsScreenNew header")
             //Some item
         }
    }
    Shakil Karim
    Andrey Kulikov
    7 replies
    Copy to Clipboard
  • e

    Emmanuel Oga

    1 year ago
    Is this a good channel for Skija / Skiko questions? Is there a more specific one? Should there be one? 🙂
    e
    Lukas K-G
    +1
    4 replies
    Copy to Clipboard
  • orangy

    orangy

    1 year ago
    I have
    LazyVerticalGrid
    with
    itemsIndexed
    over a property which is
    mutableStateListOf
    . Everything is working fine when I add items, but when I remove items via
    remove
    or
    clear
    on that list I get an exception trying to access non-existing items. It’s a call from inside the
    itemsIndexed
    , looks like it didn’t notice collection has changed. Is it a known issue or am I doing something wrong?
    orangy
    Dominaezzz
    +2
    14 replies
    Copy to Clipboard
  • Samir Basnet

    Samir Basnet

    1 year ago
    Well as much exited as i am for jetpack compose i am still worried about the Preview in Android Studio. It is in no way what i would consider usable . Takes forever just to show a simple Text composable . Can't imagine how slow it would be when need to preview complex composables. If we take current xml preview speed as 10 then compose preview is around 3. It's like no matter how productive jetpack compose is Android Studio drags it down
    Samir Basnet
    Shakil Karim
    2 replies
    Copy to Clipboard