• Ngenge Senior

    Ngenge Senior

    1 year ago
    I do not know if anyone faces same problem like I. I am using coil for Image loading and I am using rememberCoilPainter and passing an Image url. Previewing or running on device shows nothing. I have even used the deprecated CoilImage and I still have the same issue
    Ngenge Senior
    s
    2 replies
    Copy to Clipboard
  • Spikey Sanju

    Spikey Sanju

    1 year ago
    Hello all, How to save
    Color
    to
    room db
    in Jetpack Compose?. I’m trying to save an Article to room db (One of the params is
    Compose Color
    ). Currently it shows error like to Use
    TypeConverter
    for
    color
    field to save the data. How to achieve this?. Below I’ve attached my Model class.
    Spikey Sanju
    s
    +1
    5 replies
    Copy to Clipboard
  • a

    AN

    1 year ago
    Any suggestions on what is the best way to migrate a project to compose? The project is modularized by feature and uses single activity and navigation component to navigate between fragments via deep links. I know that I should keep the fragments as wrappers for composables until the whole app is fully migrated but from where should I start the migration process? The app uses bottom navigation which is being setup using the navigation component. How can I convert the bottom nav to a compose UI and set it up with the navigation component?
    a
    i
    2 replies
    Copy to Clipboard
  • Nathan Castlehow

    Nathan Castlehow

    1 year ago
    Hi, does anybody know how to do styling + formatted arguments with text that is being shown in a text composable? The use case is to just bold two items in the string which are getting fed in with format strings. Options in thread.
    Nathan Castlehow
    s
    +1
    4 replies
    Copy to Clipboard
  • a

    Anton Shilov

    1 year ago
    Hey folks! Is there any particular reason why
    @Preview
    annotation has
    @Retention(AnnotationRetention.SOURCE)
    but not
    RUNTIME
    ? I'm trying to build a component gallery app, and would like to find all the Preview composables using reflection. Unfortunately I cannot do it right now without using codegen. Would it make sense for me to send a PR changing retention from
    SOURCE
    to
    RUNTIME
    ?
    a
    e
    +2
    8 replies
    Copy to Clipboard
  • Noé Casas

    Noé Casas

    1 year ago
    Hi. Is it possible to use text alignments (i.e.
    textAlign = TextAlign.Center
    ) with
    ClickableText
    (see https://developer.android.com/jetpack/compose/text)? The
    ClickableText
    API seems not to support it. My goal is to have hyperlinks on some of the words, like this: https://stackoverflow.com/a/65656351/674487 , but I would like the text to be centered
    Noé Casas
    1 replies
    Copy to Clipboard
  • Ajay Venugopal

    Ajay Venugopal

    1 year ago
    HI, How can we add scrollbar to the lazy column ?
    Ajay Venugopal
    n
    +3
    10 replies
    Copy to Clipboard
  • Cicero

    Cicero

    1 year ago
    Please if you have time, have a look at this issue.
    type = NavType.IntArrayType
    I’m getting this crash because IntArray is not supported. Funny enough I should be using ArrayList<Int> This is really not intuitive, or am I not being intuitive? haha
    Cicero
    i
    23 replies
    Copy to Clipboard
  • d

    Daniele B

    1 year ago
    About Navigation: what does it actually happen when you call
    NavHostController.navigate()
    as in:
    val navController = rememberNavController()
    navController.navigate("detail")
    It seems no recomposition is triggered. What is the basis on which Compose is able to update the screen without a recomposition? And how can we achieve the same in a Compose non-Android app?
    d
    i
    +1
    10 replies
    Copy to Clipboard
  • Nurseyit Tursunkulov

    Nurseyit Tursunkulov

    1 year ago