TeamNewPipe/NewPipe

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

Open

#7.909 aberto em 19 de fev. de 2022

Ver no GitHub
 (0 comments) (0 reactions) (0 assignees)Java (3.577 forks)batch import
GUIbughelp wanted

Métricas do repositório

Stars
 (38.153 stars)
Métricas de merge de PR
 (Mesclagem média 9d 17h) (17 fundiu PRs em 30d)

Description

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.

Guia do colaborador