• d

    doodla

    2 years ago
    is there a compose way to do viewpagers/bottom navs?
    d
    Timo Drick
    2 replies
    Copy to Clipboard
  • m

    Madhava

    2 years ago
    Trying to update an old dev14 project:
    > Task :app-lifelike:processDebugResources FAILED
    Execution failed for task ':app-lifelike:processDebugResources'.
    > A failure occurred while executing com.android.build.gradle.internal.res.LinkApplicationAndroidResourcesTask$Action
       > 1 exception was raised by workers:
         com.android.builder.internal.aapt.v2.Aapt2InternalException: AAPT2 aapt2-4.2.0-alpha05-6645012-osx Daemon #0: Unexpected error during link, attempting to stop daemon.
         This should not happen under normal circumstances, please file an issue if it does.
    Dependent features configured but no package ID was set.
    I can't find anything that explains what the actual problem is
    m
    l
    3 replies
    Copy to Clipboard
  • m

    Madhava

    2 years ago
    @Zsolt https://github.com/zsoltk/compose-router/pull/35 Any chance you can explain how I can fix the unchecked cast warnings for my PR on compose-router?
    m
    l
    10 replies
    Copy to Clipboard
  • galex

    galex

    2 years ago
    Hello, this is going to stay isn’t? Any way around it?
    e: /Users/galex/projects/alexpizzapp/app/src/main/java/il/co/galex/alexpizzapp/common/navigation/Navigation.kt: (24, 16): @Composable invocations can only happen from the context of a @Composable function
    I can reference
    Icons.Filled.AccountBox
    but I can’t call to
    vectorResource
    at the same level 😞
    galex
    l
    7 replies
    Copy to Clipboard
  • Mehdi Haghgoo

    Mehdi Haghgoo

    2 years ago
    Hi. Is material theme the only way to create a theme for a Compose app?
    Mehdi Haghgoo
    r
    2 replies
    Copy to Clipboard
  • a

    AG

    2 years ago
    Hello, is there any way to disable text selection on long tap?
    a
    l
    3 replies
    Copy to Clipboard
  • j

    Joost Klitsie

    2 years ago
    Hi all, is there a reason why the component functions start with a capital letter? I would expect normal camelCase like
    outlinedTextField
    instead of
    OutlinedTextField
    as most function calls in Kotlin in the std or wherever do it like that. I would think uppercase is better fitting for classes, which is not fitting for composable functions 🙂
    j
    gildor
    2 replies
    Copy to Clipboard
  • Mehdi Haghgoo

    Mehdi Haghgoo

    2 years ago
    It's weird. When working with a Compose app, Android Studio 4.2 Canary 5 exhausts almost all the available physical RAM (8GB) on my (Linux) machine and then it quits after a phase of hanging. Attaching a screenshot.
    Mehdi Haghgoo
    gildor
    +1
    4 replies
    Copy to Clipboard
  • galex

    galex

    2 years ago
    Is there an example on how to use the new Activity Results API with Compose? I'd like to do a Google sign-in from a Composable and would rather not pass down something from the Activity all the way down to the Composable
    galex
    j
    +1
    9 replies
    Copy to Clipboard
  • b

    Bacho Kurtanidze

    2 years ago
    how can I test MutableState? I cant create its instance globally. it only works inside of setContent block, but even when I do create it locally, when its called by some function which isnt annotated by @Composable it throws java.lang.IllegalStateException: Not in a frame.
    b
    Adam Powell
    3 replies
    Copy to Clipboard