Thread
#compose
    a

    alorma

    1 year ago
    keeping with last post... Is a good or bad practice to do this?
    fun LazyListScope.postsListEmpty() {
        item {
            Box(
                modifier = Modifier.fillMaxSize(),
                contentAlignment = Alignment.Center,
            ) {
                Text(text = "No items")
            }
        }
    }
    Manuel Wrage

    Manuel Wrage

    1 year ago
    Seems to be ok for me.