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.

Add @IgnoreWhenViewDestroyed #1597

@WonderCsabo

Description

@WonderCsabo

Now AndroidAnnotations clears injected view fields in onDestroyView() by setting each to null. However background tasks can be completed later. To avoid NPE-s, currently the client has to check wether the views are null or not. We could create a new annotation just like @IgnoreWhenDetached to remove that boilerplate. This was already suggested by @nbelikov.

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