• n

    nitrog42

    1 year ago
    I have a coworker that is asking me an interesting question : Is there anyway to lock orientation of "screen" in a Compose app ? I assume we have to use
    setRequestedOrientation
    in the main activity ? context : setRequestedOrientation might recreate activity, and I read that with Compose we can just override all configChanges as it can be handled directly
    n
    t
    12 replies
    Copy to Clipboard
  • l

    Lorenzo Benevento

    1 year ago
    How do you animate from Dp.Unspecified to a specific value?
    l
    Colton Idle
    7 replies
    Copy to Clipboard
  • r

    robnik

    1 year ago
    What's the best way to display images from URLs? I've got some code that's about 6 months old, that uses Picasso. I need to rewrite it because it's displaying "loading image" every time I scroll away and back.
    r
    rsktash
    +1
    18 replies
    Copy to Clipboard
  • Brian Mahecha

    Brian Mahecha

    1 year ago
    Afternoon everyone; any existing references for getting Firebase auth (google sign in) to work with Compose? Currently trying to do as much of it I can in the activity like usual and then pass the result/credential to the composable.. Just a little confusing on what the expected/best practice is to pass that login result around. Should it be a flag passed to my viewModel for that screen, a conditional in the
    startDestination
    of my navGraph? Any input would be appreciated.
    Brian Mahecha
    Colton Idle
    2 replies
    Copy to Clipboard
  • Landry Norris

    Landry Norris

    1 year ago
    I'm getting an interesting error. I'm using the jetbrains compose library for JVM and trying to build a JAR file so the project can run outside of IntelliJ's run.
    Cannot find libskiko-linux-x64.so.sha256, proper native dependency missing.
    Landry Norris
    d
    3 replies
    Copy to Clipboard
  • Zach Klippenstein (he/him) [MOD]

    Zach Klippenstein (he/him) [MOD]

    1 year ago
    Has anyone publishing libraries for Compose ran into any issues with top-level composable functions missing from published artifacts? Or rather, they seem to be there in the class files, but consuming modules can’t access them. I’m seeing classes and interfaces in such a library, but the top level composable functions are not accessible.
    Zach Klippenstein (he/him) [MOD]
    e
    3 replies
    Copy to Clipboard
  • j

    Jason Inbody

    1 year ago
    Is there anything special that needs to be done in compose for app redirects? I've got a facbook login flow built but the app never redirects back to the main GUI (just a white screen). My app keeps running though and some tasks are still running just no gui...
    j
    1 replies
    Copy to Clipboard
  • r

    Rekha

    1 year ago
    How to set the border size for outlinedtextfield? The focused state bordersize looks like 2 dp but wants the size to be 1.dp. 🙏
    r
    Dmitry Strekha
    +1
    4 replies
    Copy to Clipboard
  • Abdalla Hassanin

    Abdalla Hassanin

    1 year ago
    @cb @Manuel Vivo @Sean McQuillan [G] Hello I downloaded the Jetcaster app from compose-samples and I found an error as shown in the video java.lang.IllegalArgumentException: Layout size for current item is 0 at com.google.accompanist.pager.PagerState$scrollableState$1.invoke(PagerState.kt:182) But I solved the error by placing if (featuredPodcasts.isNotEmpty()) featuredPodcasts.size else 1 at Home, the error was resolved Is this a good solution?
    Abdalla Hassanin
    Manuel Vivo
    3 replies
    Copy to Clipboard
  • theapache64

    theapache64

    1 year ago
    🧭 Navigation : 🚨 Getting
    IllegalStateException
    when pressing back button from a nested
    NavHost
    .. Detail inside 🧵
    theapache64
    i
    5 replies
    Copy to Clipboard