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

Memory leak in MVP implementation #1

Description

@bkraszewski

Hello,
I like your MVP example, but you have to remember, presenter is keeping reference to activity as a view, so it can't be recycled after activity is destroyed.

your presenter need some detachView method, that is called in onDestroy, and set View reference to null here.
Thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions