Is there a way to find out if a fragment is being permanently destroyed, i.e. that it won't be recreated in the future?
I need this to know when should I destroy a network task associated with the fragment.
Something that should work is to call getActivity().isChangingConfigurations() in the fragment's onDestroy().
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With