sphinx-kotlin icon indicating copy to clipboard operation
sphinx-kotlin copied to clipboard

Detail Screen swipe behavior memory leak

Open 05nelsonm opened this issue 4 years ago • 0 comments

When a Detail Screen is showing, swiping it down to exit causes a memory leak.

The navigation request to pop the DetailDriver's backstack is firing off and returning true as executed, but the Fragments (and thus, ViewModels) are not being destroyed. This is attributed to the MainActivity's detail_fragment_host not being visible, thus the androidx.navigation.NavController not executing the request (even though the request returns true).

Disabling the swipe behavior for now until this can be resolved.

05nelsonm avatar May 16 '21 18:05 05nelsonm