Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: チャンネル一覧画面をページネーション可能に変更 (#1896) #1911

Draft
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

sanao1006
Copy link
Contributor

@sanao1006 sanao1006 commented Oct 5, 2023

やったこと

  • 新たなチャンネルをロードするための関数loadOldChannelViewModelに実装した
  • UserDetailCardPageableListを参考にして画面の一番下に行ったことを検知するようにした
  • 画面一番下まで行くとloadOldが発火して次のチャンネルをロードするようにした

期待する動作

  • フォロー、フォロワー一覧画面のように、少しずつ要素を読み込み、画面下まで行くとプログレスインジケータを表示させて新たに要素を読み込ませたい
    • 現状は一気にすべて読み込んでしまっている
現在の動作 期待する動作
Screen_recording_20231005_210803.webm
Screen_recording_20231005_210608.webm

Issue番号

close #1896

@pantasystem
Copy link
Owner

元々の実装があまり良くないので、
やはり動作が不安定になりがちですね・・・
実装としては意図した通りかなと思います。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

チャンネル一覧でページネーションできるようにする
2 participants