TeamNewPipe/NewPipe

List fragment not restoring items after rotating and going to recent apps

开放

#7,909 创建于 2022年2月19日

 (0 条评论) (0 个反应) (0 位负责人)Java (3,577 个派生)batch import
GUIbughelp wanted

仓库指标

星标
 (38,153 个星标)
PR 合并指标
 (平均合并 9天 17小时) (30 天内合并 17 个 PR)

描述

Checklist

  • I am able to reproduce the bug with the latest version.
  • I made sure that there are no existing issues - open or closed - which I could contribute my information to.
  • I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • This issue contains only one bug.
  • I have read and understood the contribution guidelines.

Affected version

After (but also before) #7659

Steps to reproduce the bug

Search something (note: this might happen for other fragments, too); then press Android's square button (to view recent apps) and rotate the device at the same time; then go back to the app.

Expected behavior

All of the search items loaded so far are shown instantaneously, like what already happens when the app just resumes from recents (e.g. because its state was saved to disk after a RAM shortage).

Actual behavior

The (search) fragment starts reloading the list from the beginning.

贡献者指南