• Steffen Funke

    Steffen Funke

    10 months ago
    Is there a way to make
    Surface
    to not set any
    contentColor
    , e.g. make it behave like a
    Box
    in this regard? I have custom colored content (Texts, Sliders, etc….), but as soon as I wrap them into a
    ModalBottomSheetLayout
    - which is backed by a
    Surface
    - everything gets tinted with the
    contentColor
    . I surely miss something here. 🤔
    Steffen Funke
    l
    6 replies
    Copy to Clipboard
  • j

    John Aoussou

    10 months ago
    Does anyone know what is the proper way to use Factory with viewModel() functions? I couldn't find any official example (the best I could find was this Stack post, but I'm not sure using an object is ideal) https://stackoverflow.com/questions/67985585/why-do-we-need-viewmodelprovider-factory-to-pass-view-model-to-a-screen
    j
    Csaba Kozák
    4 replies
    Copy to Clipboard
  • Ali Albaali

    Ali Albaali

    10 months ago
    What's the best way to implement a comment Composable and nested replies that follow it? I tried using nested
    LazyColumn
    but it's prohibited, so now I'm using a
    Column
    and loop thru items but that's not the most optimal solution. Any ideas?
    Ali Albaali
    b
    17 replies
    Copy to Clipboard
  • Tanaka

    Tanaka

    10 months ago
    How does one navigate screens controlled by bottom navigation and the bottom nav is in a screen in NavHost. The documentation it's pretty vague in this aspect. They implement a NavHost wc results in ViewModelStore should be set before setGraph call Exception
    Tanaka
    i
    6 replies
    Copy to Clipboard
  • Nathan Castlehow

    Nathan Castlehow

    10 months ago
    hey hopefully a quick one, has anyone been able to make an item focused for the previews in AS? My items have a focused style they show based on being focused (from an interaction source)
    Nathan Castlehow
    1 replies
    Copy to Clipboard
  • Mehdi Haghgoo

    Mehdi Haghgoo

    10 months ago
    My material3 app wants material:1.0.0 very badly, and it can't find it. What should I do?
    Mehdi Haghgoo
    gildor
    7 replies
    Copy to Clipboard
  • Stylianos Gakis

    Stylianos Gakis

    10 months ago
    A question about whether to
    remember
    something or not. More in thread: 🧵
    Stylianos Gakis
    Zach Klippenstein (he/him) [MOD]
    +2
    22 replies
    Copy to Clipboard
  • Geert

    Geert

    10 months ago
    Can someone help me with the source id for Jetpack Compose? I have an app in the play store where you have to login, so the prelaunch rapport won’t login to test the application. So when I enter an username and account I have to put source-id. But I dont know where to find it? Is it like findViewById(R.id.xxxx) but then for compose?
    Geert
    Stylianos Gakis
    +1
    3 replies
    Copy to Clipboard
  • c

    Clament John

    10 months ago
    How to do
    NestedNavigation
    (jetpack navigation) with arguments? How would I pass
    id
    to the
    login
    nav graph?
    fun NavGraphBuilder.loginGraph(navController: NavController) {
        navigation(
            startDestination = "username", 
            route = "login/{id}", 
            arguments = listOf(navArgument("id") { type = NavType.StringType }),
        ) {
            composable("username") { ... }
            composable("password") { ... }
            composable("registration") { ... }
        }
    }
    c
    Johan Reitan
    9 replies
    Copy to Clipboard
  • a

    alorma

    10 months ago
    Hi! Is there a way to have different Snackbar colors? On our design system we have 3 snackbar types: Success (green), Info (default), Error (red)
    a
    a
    7 replies
    Copy to Clipboard