• andylamax

    andylamax

    2 years ago
    Upgraded to Canaray 4.2 and Android Studio says plugin is incompatible. Where do I the relase notes for gradle plugin
    4.2.0-alpha01
    ?
    andylamax
    1 replies
    Copy to Clipboard
  • Artur Matsehor

    Artur Matsehor

    2 years ago
    Hey! I've got a simple form of two fields. Now I want to assign an IME action for a first one, so it will show an arrow on a soft keyboard, which will move focus to a second field. I tried doing this, but it doesn't work for unknown reason, email field stays focused
    Artur Matsehor
    Zach Klippenstein (he/him) [MOD]
    7 replies
    Copy to Clipboard
  • bohregard

    bohregard

    2 years ago
    So after reading through the slack regarding AnnotatedString, I have some questions 1. I know text composables can be clickable, but is it possible to have portions of the text clickable (ie for resolving links et cetera)? 2. Is it possible to expose the styles with their ranges on the AnnotatedString builder? I ask because if I’m building a string and I replace part of the string but I had already applied a style, the style does not shift with the removal of text (which is fine and makes sense that it wouldn’t). But it would be helpful to have access to the styles that have been appended up to this point to either remove them or offset them by the newly formatted string. (Say because I’m going through a set of rules and formatting text based on these rules)
    bohregard
    Zach Klippenstein (he/him) [MOD]
    +1
    12 replies
    Copy to Clipboard
  • Zach Klippenstein (he/him) [MOD]

    Zach Klippenstein (he/him) [MOD]

    2 years ago
  • g

    Guy Bieber

    2 years ago
    Is there an a way to get Clickable to keep incrementing a value while the user presses and then stop on release? Or is there another compose function for that? I have a temp control with two arrow keys and want the temp to increase until they release the key.
    g
    1 replies
    Copy to Clipboard
  • e

    Elias

    2 years ago
    Hi there, we are trying to make a floatingActionButton to open a dialog on click. But as the onclick function is not annotated with @Compose, this does not seem to be possible. Does anyone know about the recommended approach to achieve this behaviour?
    e
    a
    +1
    8 replies
    Copy to Clipboard
  • s

    Santhosh Kumar

    2 years ago
    How can we create a grid list recyclerview adapter? I couldn't find any properties on top of modifiers. As of now AdapterList supports a linear vertical scrolling.
    s
    a
    +1
    3 replies
    Copy to Clipboard
  • Javier

    Javier

    2 years ago
    Is there a collapsing toolbar in compose?
    Javier
    Adrian Blanco
    2 replies
    Copy to Clipboard
  • bohregard

    bohregard

    2 years ago
    I have this small piece of code:
    setContent {
                AppState.currentScreen = Screen.LoadingScreen
    
                Log.d(TAG, "set content")
                MaterialTheme(colors = darkColorPalette()) {
                    Log.d(TAG, "Material Theme")
                    Providers(MainActivityAmbient provides this, DiAmbient provides di) {
                        Log.d(TAG, "Providers")
                        Crossfade(AppState.currentScreen) {
                            Log.d(TAG, "Crossfade $AppState")
                            Log.d(TAG, "Crossfade ${AppState.currentScreen}")
    but the crossfade is called twice If I try to change the currentScreen in the crossfade, I end up in a loop that never ends. How is one supposed to use Crossfade?
    bohregard
    Andrey Kulikov
    +1
    12 replies
    Copy to Clipboard
  • m

    Merhawifissehaye

    2 years ago
    How do I create OutlineTextField instead of a FilledTextField
    m
    matvei
    +2
    7 replies
    Copy to Clipboard