'How to find reason of fragment memory leak? (profiler)
I found a fragment memory leaks with profiler. PagerFragment has viewpager2 with FragmentStateAdapter
I checked A fragment called onDestroy but memory leak accurs. How to find which causes memory leak by profiler?
Also I used LeakCanary, but it could not find fragment memory leak. (but profiler did) Can you guess why LeakCanary cannot find memory leak?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|