Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Overlapping PageViewer fragments in Mensadetails view #71

Open
exside opened this issue Nov 27, 2013 · 2 comments
Open

Overlapping PageViewer fragments in Mensadetails view #71

exside opened this issue Nov 27, 2013 · 2 comments

Comments

@exside
Copy link
Contributor

exside commented Nov 27, 2013

I cannot reproduce it anymore, but I had the case where several MenuListDay Fragments were overlapping each other, after some interaction with the back button...but cannot get the same thing again right now, looked like the instances of the fragment don't get destroyed...

@exside
Copy link
Contributor Author

exside commented Dec 9, 2013

this has something to do with the childFragmentManager() (nested fragments) and the backstack...couldn't solve it till now.

steps to reproduce:

  1. go to mensalist
  2. click a mensa for detail view
  3. press the map button to navigate to the mensa
  4. press the back button
  5. repeat a few times eventually
  6. you should see overlapping fragments...or the map fragment behind...very strange stuff going on here

the workaround is to just give the main containers a background color, so the fragments lying behind these are not visible...crappy but better than overlapping fragments...

@exside
Copy link
Contributor Author

exside commented Dec 9, 2013

better solution was to "clean up" the unwanted fragments when the back button is clicked, this is implemented and seems to works so far, maybe still not the best for performance, but ok...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant