You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
infer_clone/website/docs/checker-fragment-retains-vi...

22 lines
567 B

---
title: "Fragment Retains View"
description: "Detects when Android fragments are not explicitly nullified before becoming unreachable."
---
Detects when Android fragments are not explicitly nullified before becoming unreachable.
**\*\*\*DEPRECATED\*\*\*** Unmaintained due to poor precision.
Activate with `--fragment-retains-view`.
Supported languages:
- C/C++/ObjC: No
- Java: Yes
## List of Issue Types
The following issue types are reported by this checker:
- [CHECKERS_FRAGMENT_RETAINS_VIEW](/docs/next/all-issue-types#checkers_fragment_retains_view)