title: Swipe to refresh is not working if LazyGridView has no child in compose
body: <p>I'm using <code>SwipeRefresh</code> view in compose (from <a href="https://google.github.io/accompanist/swiperefresh/" rel="noreferrer">accompanist</a>). I have <code>LazyVerticalGrid</code> inside it, and grid populates paging data from network. If there's no content in paging data, i'm showing empty state view. When there's some data, swipe-to-refresh is working. Issue is, i'm not able to do swipe-to-refesh in <code>LazyVerticalGrid</code> if there's no data, but same is working in <code>LazyColumn</code> (both case has <code>NoContentView</code> shown).</p>
  <pre><code>@Composable
  fun GridItems(
      searchViewModel: SearchViewModel
  ) {
      var isRefreshing by remember { mutableStateOf(false) }
      val posts = remember { searchViewModel.posts }.collectAsLazyPagingItems()
  
      Scaffold(
          topBar = { MyTopBar() }
      ) { innerPadding -&gt;
          SwipeRefresh(
              state = rememberSwipeRefreshState(isRefreshing = isRefreshing),
              onRefresh = { searchViewModel.getPosts() }
          ) {
              Column(modifier = Modifier.padding(innerPadding)) {
                  LazyVerticalGrid(
                      cells = GridCells.Fixed(3),
                      modifier = modifier.padding(horizontal = 3.dp)
                  ) {
                      items() {
                          MySinglePostItem()
                      }
  
                      posts.apply {
                          when {
                              //Other loadState here
  
                              // Show below view if no item is present in paging data 
                              loadState.refresh is LoadState.NotLoading &amp;&amp; loadState.append.endOfPaginationReached &amp;&amp; posts.itemCount &lt; 1 -&gt; {
                                  NoContentView(Modifier.fillMaxSize())
                              }
                          }
                      }
                  }
              }
          }
      }
  }
  
  @Composable
  fun NoContentView(modifier: Modifier = Modifier) {
      Box(
          modifier = modifier,
          contentAlignment = Alignment.Center
      ) {
          Column(
              modifier = Modifier.fillMaxSize(),
              verticalArrangement = Arrangement.Center,
              horizontalAlignment = Alignment.CenterHorizontally
          ) {
              Image(
                  modifier = Modifier.size(48.dp),
                  painter = painterResource(id = R.drawable.ic_outlined_image_no_content)
              )
              Spacer(modifier = Modifier.height(4.dp))
              Text(
                  text = stringResource(id = R.string.empty_posts_message),
                  fontSize = 15.sp
              )
          }
      }
  }
  </code></pre>