• Nicholas Doglio

    Nicholas Doglio

    1 year ago
    Is anyone else facing compiler issues in projects with multi-modules?
    Caused by: org.jetbrains.kotlin.codegen.CompilationException: Back-end (JVM) Internal error: Couldn't inline method call 'Row$default' into
    @androidx.compose.runtime.Composable public fun Error(): kotlin.Unit
    Possible related issue: https://issuetracker.google.com/issues/189138228 Working with Compose in a small sandbox app works fine but as soon as I try to integrate it into our main app I get the above error when using any Composable that’s an inline function (
    Row
     and 
    Column
     for example) We started playing with Compose during the first RC and have seen it since then and continue to see it in todays 1.0.1 release
    Nicholas Doglio
    m
    3 replies
    Copy to Clipboard
  • Colton Idle

    Colton Idle

    1 year ago
    androidx.compose.ui.ui-1.1.0-alpha01
    👀
    Colton Idle
    2 replies
    Copy to Clipboard
  • Colton Idle

    Colton Idle

    1 year ago
    I'm just trying to pin a Crossfade with a button at the bottom of the screen with weight 1f. I can pin the button at the bottom of the screen, but once I wrap it with Crossfade it pins the button at the top of the screen. Code in thread.
    Colton Idle
    a
    +2
    11 replies
    Copy to Clipboard
  • Zach Klippenstein (he/him) [MOD]

    Zach Klippenstein (he/him) [MOD]

    1 year ago
    Is this not required for Compose 1.0 anymore? Seems to build just fine without it.
    composeOptions {
        kotlinCompilerExtensionVersion "…"
      }
    Zach Klippenstein (he/him) [MOD]
    e
    +4
    12 replies
    Copy to Clipboard
  • p

    PHondogo

    1 year ago
    Hello! How can i adjust compose view to keyboard show/hide?
    p
    l
    +1
    4 replies
    Copy to Clipboard
  • Dominaezzz

    Dominaezzz

    1 year ago
    Would it make sense to create (and dispose with
    DisposableEffect
    ) a
    Composition
    in the
    skippableUpdate
    parameter of
    ComposeNode
    ?
    Dominaezzz
    1 replies
    Copy to Clipboard
  • i

    Ink

    1 year ago
    Row() {
        Canvas(modifier = Modifier.size(20.dp)) {
            drawCircle(
                color = Color.Gray,
                center = Offset(x = 10f, y = 10f),
                radius = size.minDimension / 4,
            )
        }
        Canvas(modifier = Modifier.size(20.dp)) {
            drawCircle(
                color = Color.Gray,
                center = Offset(x = 10f, y = 10f),
                radius = size.minDimension / 4,
            )
        }
    }
    How Can I update color of specific circle based on index number?
    i
    Dominaezzz
    3 replies
    Copy to Clipboard
  • itnoles

    itnoles

    1 year ago
    What is NavigationRail?
    itnoles
    1 replies
    Copy to Clipboard
  • Colton Idle

    Colton Idle

    1 year ago
    Anyone else do a bunch of updates today (latest alpha androidx everything, compose 1.0.1 or 1.1.0-alpha01 and kotlin 1.5.21) and hilt started breaking? Been trying to diagnose this now for a few hours. Throwing in the towel for now and reverting. https://github.com/google/dagger/issues/2800
    Colton Idle
    itnoles
    +1
    6 replies
    Copy to Clipboard
  • m

    MaxUt

    1 year ago
    Hi there, I'm using Hilt to inject dependencies. I was wondering if it's possible to instanciate an object which contains depencies (injected with Hilt) in a Composable ?
    m
    Colton Idle
    +2
    22 replies
    Copy to Clipboard