• Mehdi Haghgoo

    Mehdi Haghgoo

    2 years ago
    How can I use predefined UI portions as scaffold parameters without getting this warning?
    The expression is unused
    Mehdi Haghgoo
    b
    3 replies
    Copy to Clipboard
  • Arpan Sarkar

    Arpan Sarkar

    2 years ago
    I am trying to create cube grid animation like the first video, In my implementation for first time the animation is working as expected, after the animation repeat everyting is becoming mess...i guess when using
    repeatable{}
    the keyframe delay is not working as expected.
    Arpan Sarkar
    Sergey Y.
    +1
    4 replies
    Copy to Clipboard
  • Mehdi Haghgoo

    Mehdi Haghgoo

    2 years ago
    How to divide available space in a row evenly between items? For a bottomBar for example, the items tend to stick to start by default.
    Mehdi Haghgoo
    a
    2 replies
    Copy to Clipboard
  • Mehmet Peker

    Mehmet Peker

    2 years ago
    I using Modifier.clickable() for handle click event but when i tap to view showing effect on view(like ripple effect).How can i disable this?
    Mehmet Peker
    l
    2 replies
    Copy to Clipboard
  • John O'Reilly

    John O'Reilly

    2 years ago
    I'm using
    launchInComposition
    as shown here to call suspend function....what's recommended way to show progress indicator (like
    CircularProgressIndicator
    ) until that function completes?
    @Composable
    fun MainLayout(sdk: SpaceXSDK) {
        var launches by remember { mutableStateOf<List<RocketLaunch>>(emptyList()) }
    
        launchInComposition {
            launches = sdk.getLaunches(false)
        }
        
        LazyColumnFor(items = launches) { launch ->
            LaunchView(launch)
        }
    }
    John O'Reilly
    Halil Ozercan
    4 replies
    Copy to Clipboard
  • s

    Saiedmomen

    2 years ago
    Here's hoping it hasn't been too many times... Is is intended/ok to have
    State
    in ViewModels?
    s
    Sean McQuillan [G]
    2 replies
    Copy to Clipboard
  • sasikanth

    sasikanth

    2 years ago
    I am trying to use
    remember
    with
    mutableStateOf
    as a property delegate, but I am getting this error.
    Type 'TypeVariable(T)' has no method 'getValue(Nothing?, KProperty<*>)' and thus it cannot serve as a delegate
    Here is the usage
    var selectedItem by remember { mutableStateOf(0) }
    Currently I am using AS 4.2 Canary 10 with Compose Alpha 02. Am I doing something wrong or is this an issue?
    sasikanth
    3 replies
    Copy to Clipboard
  • s

    Sourabh Rawat

    2 years ago
    How can achieve this TextField? Seems very difficult to write extra code on top of
    BaseTextField
    .
    s
    manueldidonna
    6 replies
    Copy to Clipboard
  • Archie

    Archie

    2 years ago
    What's compose stand about persistent UI? Such as keeping the same AppBar across multiple screen. Is it expected that we change the whole screen everytime in Compose?
    Archie
    1 replies
    Copy to Clipboard
  • l

    Leland Richardson [G]

    2 years ago
    Hey everyone! Don’t want to over self-promo here, but just wanted to let you all know that I’m starting a twitch + youtube channel where I will be live-streaming a bunch of stuff about compose. Made a quick video to explain more about what the content will be about and the motivation!

    https://www.youtube.com/watch?v=WNkIMx3Mr9o

    Twitch: https://www.twitch.tv/intelligibabble
    l
    Pete Doyle
    +3
    13 replies
    Copy to Clipboard