• k

    knthmn

    1 year ago
    Is there a faded edge effect that I can use? The best I can do now is to use a gradient paint of the background color, but that doesn't work when the background is more complicated.
    k
    Chachako
    4 replies
    Copy to Clipboard
  • Muhammad Zaryab Rafique

    Muhammad Zaryab Rafique

    1 year ago
    Hi Devs, kindly guide me -> how to change the status bar color in jetpack compose. I tried some solution but failed.
    Muhammad Zaryab Rafique
    pawegio
    3 replies
    Copy to Clipboard
  • m

    mzgreen

    1 year ago
    I think I've found a compiler bug:
    @Composable 
    fun Foo() {
      val bar = @Composable { }
      // this works
      val bazOk = listOf(null, bar)
    
      // this doesn't
      val bazNotOk = listOf(null, @Composable { })
    }
    the non working line crashes with
    KotlinFrontEndException: Exception while analyzing expression
    . Should I file it or it's already reported? cc @Leland Richardson [G]
    m
    j
    4 replies
    Copy to Clipboard
  • l

    loloof64

    1 year ago
    Hi ! Let's say I'm building a kind of
    Restartable
    Composable
    . This component needs to be restarted when the user makes a restart request. In previous Android development, this could be achieved by calling on of
    Restartable
    methods, if
    Restartable
    was designed as a class. But, talking about
    Composition
    , what should be a good pattern to achieve this. More on my attempt in thread.
    l
    Adam Powell
    20 replies
    Copy to Clipboard
  • Cicero

    Cicero

    1 year ago
    Cicero
    o
    8 replies
    Copy to Clipboard
  • Colton Idle

    Colton Idle

    1 year ago
    Kotlin 1.5 support is coming sooooooon! (I know that 1.5-RC was in gerrit earlier too, but this is just straight 1.5) (also, the reason I'm so excited is that there are a few bugs I'm having with gradle7/agp7 thats supposedly fixed in 1.5. Can't wait till next week!) https://android-review.googlesource.com/c/platform/frameworks/support/+/1651538
    Colton Idle
    jim
    7 replies
    Copy to Clipboard
  • Cicero

    Cicero

    1 year ago
    Which is the lowest version of:
    com.android.tools.build:gradle
    and
    //services.gradle.org/distributions/gradle
    that can be used together? Do we have anywhere that could tell this?
    Cicero
    Colton Idle
    6 replies
    Copy to Clipboard
  • izyaboi

    izyaboi

    1 year ago
    How can i use
    MediaRouteButton
    in composables i want have the cast icon not in the actionbar but in my composable?
    izyaboi
    Adam Powell
    10 replies
    Copy to Clipboard
  • r

    robnik

    1 year ago
    Is there a way to hook into the setter of a MutableState property of my ViewModel? When it changes I want to persist it, and clear other cached data in the ViewModel. (Code in thread.)
    r
    2 replies
    Copy to Clipboard
  • Cicero

    Cicero

    1 year ago
    I can’t find out why I’m getting this error: : /Users/ch/brmvuroleticsandroid/app/src/main/java/de/rocketlane/uroletics/MainActivity.kt: (18, 13): @Composable invocations can only happen from the context of a @Composable function more inside the thread…
    Cicero
    r
    +3
    28 replies
    Copy to Clipboard