I have a backstack of hidden fragments. I would expect the oldest onces to get detached when memory getting low. Why would I expect that?
- Activities have it. Would be nice to have it in fragments.
- When the app gets killed (by Android), the hidden fragments are being attached again (restored from the backstack). So there is a scenario for auto-detaching the fragments.
So, is Android detaches hidden fragments when memory gets low while using the app? If not, why not?