m

    Miguel Vargas

    11 months ago
    Is something like this possible?
    val composables: List<@Composable () -> Unit>
    
    someComposableLoopingScope(composables) { composable ->
      composable.invoke()
    }
    Zach Klippenstein (he/him) [MOD]

    Zach Klippenstein (he/him) [MOD]

    11 months ago
    zhuinden

    zhuinden

    11 months ago
    You might want to also send a key to identify the composables in your loop and then use key(key) but yes