title: What is the equivalent of [NestedScrollView + RecyclerView] or [Nested RecyclerView (Recycler inside another recycler) in Jetpack compose
body: <p>I want to create the following layout in Jetpack compose.
  <a href="https://i.stack.imgur.com/MdEHb.png" rel="noreferrer"><img src="https://i.stack.imgur.com/MdEHb.png" alt="enter image description here" /></a></p>
  <p>I've tried creating two lists inside a vertical scrollable Box but that's not possible as I got the this error:
  &quot;java.lang.IllegalStateException: Nesting scrollable in the same direction layouts like ScrollableContainer and LazyColumn is not allowed. If you want to add a header before the list of items please take a look on LazyColumn component which has a DSL api which allows to first add a header via item() function and then the list of items via items().&quot;</p>
  <p>I've tried creating two different lists inside a parent list by using the following code, but that doesn't work either.</p>
  <pre><code>@Composable
  fun MainList() {
      LazyColumn() {
          
          item {
              /* LazyRow code here */
          }
          
          item {
              /* LazyColumn code here */
          }
      }
  }
  </code></pre>
  <p>Now I'm clueless about what else could I try to achieve two lists (one vertical and one horizontal) on the same activity and keep the activity vertically scrollable too.</p>