• Alexander Karkossa

    Alexander Karkossa

    1 year ago
    Hello everyone, we needed a RevealSwipe for the Card, so we wrote our own one. Maybe the library will help someone. https://github.com/ch4rl3x/RevealSwipe
    Alexander Karkossa
    n
    2 replies
    Copy to Clipboard
  • s

    Socheat KHAUV

    1 year ago
    I got a project build error org.jetbrains.kotlin.backend.common.BackendException: Backend Internal error: Exception during IR lowering File being compiled: TakeVideoScreen.kt The root cause java.lang.AssertionError was thrown at: org.jetbrains.kotlin.backend.jvm.lower
    s
    3 replies
    Copy to Clipboard
  • Muhammad Zaryab Rafique

    Muhammad Zaryab Rafique

    1 year ago
    Hi Devs, anyone idea about how to add splash screen in jetpack compose
    Muhammad Zaryab Rafique
    p
    3 replies
    Copy to Clipboard
  • m

    MBegemot

    1 year ago
    What I do is in the mainactivity where screens are dispatched make one of them being the setup screen, and perform all initializations on that screen when they are done I set the current screen to the main one .... But I'm a little bit concerned about startup times of compose app, I'm not sure 100% but I feel they have sensible increased in the last two betas .
    m
    gildor
    29 replies
    Copy to Clipboard
  • p

    Philip Blandford

    1 year ago
    I have a LazyColumn that, when the page loads, must be initialised to have a particular item on top, so I do
    val listState = rememberLazyListState()
    
    LaunchedEffect(itemIdx) {
      coroutineScope.launch {
        listState.scrollToItem(itemIdx)
      }
    }
    But this has a rather jarring effect, in that you see the thing scroll to position - what I want is for it just to be there ready when the page opens
    p
    1 replies
    Copy to Clipboard
  • d

    Daniele B

    1 year ago
    Compose Navigation: is there a way to receive a callback each time a composable is popped from the backstack?
    d
    pawegio
    +1
    14 replies
    Copy to Clipboard
  • Jurriaan Mous

    Jurriaan Mous

    1 year ago
    With Compose for Android, Web, Desktop being in active development: it seems we only have to wait for a Compose for iOS for a complete multiplatform experience 😄
    Jurriaan Mous
    1 replies
    Copy to Clipboard
  • Deepak Gahlot

    Deepak Gahlot

    1 year ago
    Hi All, Any idea what will be a best approach on building a dragabble Layout. For example by default it is just a Row with some initial height with the drag handle on the middle and then we can drag it up and the height increases and shows rest of the content. Just like we have the gesture in BottomSheet.
    Deepak Gahlot
    1 replies
    Copy to Clipboard
  • JulianK

    JulianK

    1 year ago
    I have a Unit Test which uses @RunWith(RobolectricTestRunner) and a compose test rule. However, when i start this simple test, i get the following error:
    Functions that involve synchronization (Assertions, Actions, Synchronization; e.g. assertIsSelected(), doClick(), runOnIdle()) cannot be run from the main thread. Did you nest such a function inside runOnIdle {}, runOnUiThread {} or setContent {}?
    How can i possibly not run my assertions/clicks on the main thread? What did i mess up here?
    JulianK
    1 replies
    Copy to Clipboard
  • Yuri Drigin

    Yuri Drigin

    1 year ago
    Hi folks. I know this has asked before. But may be something changed. ))) Is there a way to popup navController to root without lot of code?
    navController.popStackToRoot()
    Yuri Drigin
    1 replies
    Copy to Clipboard