• j

    Justin Tullgren

    1 year ago
    Whats the recommended way to have screens without scaffold views when they are being loaded in a
    NavHost
    composable which is the
    content
    of a scaffold? Ex. The main screens should all have consistent bottomnav and topappbar but some screens need to go without and these screens are accessed from the main screen. Is this a nav subgraph situation, push the scaffold down into the screens, or something else I am missing? Thanks !
    j
    i
    2 replies
    Copy to Clipboard
  • s

    Shivam Sethi

    1 year ago
    Please help, I am not able to instantiate viewModel which has dependencies injected to it through hilt. The app. crashes when I start that activity
    s
    s
    +1
    3 replies
    Copy to Clipboard
  • s

    Shivam Sethi

    1 year ago
    this activity was running fine 2 days ago, now it is crashing. I did not change anything in this file.😩
    s
    steelahhh
    3 replies
    Copy to Clipboard
  • Shakil Karim

    Shakil Karim

    1 year ago
    Is there any examples for loading new data when reaching last item on Lazycolumn?
    Shakil Karim
    John O'Reilly
    3 replies
    Copy to Clipboard
  • m

    Mjahangiry75

    1 year ago
    Is it possible to create Squircle shape in jetpack compose?
    m
    n
    13 replies
    Copy to Clipboard
  • Nat Strangerweather

    Nat Strangerweather

    1 year ago
    This is quite basic but in the case of a custom layout, if I wanted to pass a measured value to another composable, is the best solution to use a View Model or is there a more straightforward way? Please see my code. I need to pass the
    boardWidth
    value elsewhere.
    Nat Strangerweather
    k
    +1
    18 replies
    Copy to Clipboard
  • clhols

    clhols

    1 year ago
    I have an issue where a ComposeView just freezes (animations stop and no input is registered) when navigating to its fragment. The profiler shows that the UI thread is just sleeping and doing nothing. It also shows the touches/clicks but the composables inside the ComposeView doesn't receive the clicks and animations do not run. The app (main thread) is not frozen as I can use a bottom nav view to switch to another fragment and back. If I do that then everything works as expected. It is triggered by a deep link which navigates to the startDestination of the nav graph just with a new Bundle containing the data from the deep link. Maybe there is a conflict between the nav component navigating to the startDestination and the deep link triggering another navigate() immediately afterwards. Any pointer on how to debug this?
    clhols
    2 replies
    Copy to Clipboard
  • Colton Idle

    Colton Idle

    1 year ago
    I haven't worked with custom views ever, but for my first attempt, my designer gave me this. Is there a way that I can figure out what kind of curve this is, or should I be asking my designer for the path or curve specs or something? It doesn't make sense to me how to draw this curve programatically that'll work on tablets and phones of all sizes.
    Colton Idle
    k
    +1
    10 replies
    Copy to Clipboard
  • Vince Rickey

    Vince Rickey

    1 year ago
    I'm having a little trouble with Intrinsics. I would like for the Text (yellow) to align with the bottom of only be as tall as the Image as indicated by the red dotted line. Can anyone spot if I am using
    IntrinsicSize.Min
    incorrectly or if I misunderstood?
    Vince Rickey
    k
    +1
    17 replies
    Copy to Clipboard
  • Rahul Sainani

    Rahul Sainani

    1 year ago
    I've been wondering what are the things that need to be done before then android platform/os can take advantage of Kotlin and Compose?
    Rahul Sainani
    k
    +4
    17 replies
    Copy to Clipboard