When an orientation change occurs the fragment manager will automatically
re-create the content fragment for us.
Details
Details
- Reviewers
nicolasfella - Group Reviewers
KDE Connect - Commits
- R225:3a189d1af4d0: Do not create a new content fragment on orientation change
Set the content fragment to DeviceFragment and change orientation
Result: DeviceFragment is shown for the correct device and the correct navigation view menu item is checked
Set the content fragment to PairingFragment and change orientation
Result: PairingFragment is shown for the correct device and the "Pair new device" navigation view menu item is checked
Diff Detail
Diff Detail
- Repository
- R225 KDE Connect - Android application
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.