Hello everyone, I'm trying to implement Accompanis...
# compose
c
Hello everyone, I'm trying to implement Accompanist-SwipeRefresh layout, and the swiping location isn't the upper most part of the screen, I use an outer LazyColumn, Inside a lazyrow, below one item, below 2 more item (box), and at the bottom there is an items function call to display pagingItems. Explanation with code is in the thread.
👀 1
Copy code
LazyColumn(
    Modifier
        .fillMaxSize()
        .background(colorResource(id = R.color.colorBackground))
) {
          LazyRow(
                Modifier
                    .wrapContentHeight()
                    .fillMaxWidth()
                    .background(colorResource(id = R.color.colorBackground)),
                listState
            ) {}
         item{}
---------------------------> this is where I want to put swipe refresh, but can't nest a lazyColumn scoping below elements, and don't want to use Column with vertical scroll
         item{}
         item{}
       items(lazyPagingItems){itemComposable(item)}
}