• t

    Thierry

    2 years ago
    AdapterList seems to work well 👏
    t
    Zach Klippenstein (he/him) [MOD]
    +3
    21 replies
    Copy to Clipboard
  • SrSouza

    SrSouza

    2 years ago
    The composable have a ID that I can get? and three's any callback that I can set when my composable is removed from the SlotTable?
    SrSouza
    l
    5 replies
    Copy to Clipboard
  • Klaas Kabini

    Klaas Kabini

    2 years ago
    Does dev05 support coroutines?
    Klaas Kabini
    mbonnin
    2 replies
    Copy to Clipboard
  • Klaas Kabini

    Klaas Kabini

    2 years ago
    What is the difference between Px and IntPx?
    Klaas Kabini
    Zach Klippenstein (he/him) [MOD]
    +1
    8 replies
    Copy to Clipboard
  • ahulyk

    ahulyk

    2 years ago
    What is the benefit of using
    Router
    vs
    Navigation Components
    ?
    ahulyk
    gpaligot
    +4
    8 replies
    Copy to Clipboard
  • Nikita Prokopov

    Nikita Prokopov

    2 years ago
    Hi all! I can’t figure out how to change state and cause a recomposition from outside (not onClick or anything). E.g. from a timer. This:
    val counter = state { 0 }
    timer(period = 16L) { counter.value++ }
    Gives me an exception:
    Exception in thread "Timer-0" java.lang.IllegalStateException: Not in a frame
    	at androidx.compose.frames.FramesKt.currentFrame(Frames.kt:180)
    	at androidx.compose.frames.FramesKt.writable(Frames.kt:461)
    	at androidx.compose.ModelMutableState.setValue(MutableState.kt:176)
    Nikita Prokopov
    Manuel Wrage
    +2
    7 replies
    Copy to Clipboard
  • Cody Engel

    Cody Engel

    2 years ago
    Just a heads up, the current setup documentation gives an error when trying to resolve an early access preview of Kotlin associated with dev02, was able to find that it's currently on dev05 but it would be nice if this document called out where to find the current version: https://developer.android.com/jetpack/compose/setup
    Cody Engel
    l
    4 replies
    Copy to Clipboard
  • f

    Filip Zych

    2 years ago
    Not sure if there was already such a question, but will robolectric work with compose?
    f
    l
    2 replies
    Copy to Clipboard
  • Miguel A. Ruiz

    Miguel A. Ruiz

    2 years ago
    Hi, I have a question, I hope I can explain it properly. I want to show an image with the height fixed (I use a container with a height in dp for that) but I would like to have a width dependent of the image size, I mean to respect the image ratio. How can I achieve that?
    Miguel A. Ruiz
    Zach Klippenstein (he/him) [MOD]
    3 replies
    Copy to Clipboard
  • carbaj0

    carbaj0

    2 years ago
    I download the library and when i try to build the project, Android Studio show me
    The project is using an incompatible version (3.6.0-rc03) of the Android Gradle plugin.
    carbaj0
    Foso
    4 replies
    Copy to Clipboard