mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2025-04-01 08:17:01 +00:00

- Fragments were being recreated from scratch (losing their state) every time some configuration change occurred (e.g. screen rotation). - Use `FragmentStatePagerAdapter` instead, as it is built to work with them and manage their states.