chaudharirohit2810 / SpotIT

Music streaming advertisement muter
GNU General Public License v3.0
30 stars 2 forks source link

Data loss while using the app (the fragment disappears after double screen rotation) #10

Open davirec opened 2 years ago

davirec commented 2 years ago

When I perform these sequences of events, the fragment disappears after double screen rotation:

  1. Open the app
  2. Tap in Running in Background
  3. A screen similar to this will appear:

Before rotation:

  1. Force the pause from the activity and then return to the activity (double screen rotation). Note that the fragment disappears.

The expected behavior is the return to the state of the previous image.

However, the fragment disappears.

After rotation:

This bug also occurs in the element About\Privacy.

Note:

Device:

  1. https://developer.android.com/guide/components/activities/activity-lifecycle