Skip to content
This repository was archived by the owner on Feb 26, 2023. It is now read-only.
This repository was archived by the owner on Feb 26, 2023. It is now read-only.

Possible Memory Leaks and missing onDestroyView cleanup #933

@MasterEmit

Description

@MasterEmit

Just read some discussion about the problem with fragments, that a missing cleanup of view references can cause a memory leak.

http://stackoverflow.com/questions/13421945/retained-fragments-with-ui-and-memory-leaks

I checked the generated classes of android annotations and could not find any place, where views will be cleaned. We are able to see, that just switching fragments increases memory usage. We will try to write a small cleanup ourself shortly, but maybe it would be great to implement it at android annotations.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions