Pull to refresh doesn't work when there are no tasks

オープン
#916 コメント 3 件 リアクション 0 件 担当者 1 名 GitHub で見る

@AnirudhPudari がすでに取り組んでいます。

2023年6月5日 から。

評価

この issue はまだ評価されていません。

説明

Steps to repro:

  • Load app, delete any existing tasks so that "You have no tasks!" is displayed
  • swipe vertically downwards

Expected outcome

  • The loading spinner is displayed

Actual outcome

  • Nothing happens

Further details:

Pull to refresh is implemented in the LoadingContent composable. This either displays empty content or if it is non empty (specified by the logic tasks.isEmpty() && !loading) a container which supports pull to refresh.

So the problem is that the empty content should be displayed inside a container which supports pull to refresh.

Additionally the code is currently using SwipeRefresh from the accompanist library which is deprecated and needs migrating https://google.github.io/accompanist/swiperefresh/#migration

主要言語
Kotlin
スター
45.9k
フォーク
11.8k
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

android/architecture-samples のほかの issue

android/architecture-samples の issue をすべて見る

似ている issue

Kotlin の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。