Skip to content

onDialogDismiss leaks context #25

@danvinokour

Description

@danvinokour

I saw that there is a memory leak in onDialogDismiss().
dialog.dismiss wasn't called and therefore a leak accoured.

Maybe you should add the listener before you start animator?

this is how i create the EasyDialog:
EasyDialog easyDialog = new EasyDialog(mContext.get()). setLocationByAttachedView(viewToAttach). setLayout(easyDialogView). setGravity(toolTip.getDirection()). setMatchParent(false). setAnimationAlphaShow(600, 0.0f, 1.0f). setAnimationAlphaDismiss(600, 1.0f, 0.0f);

I guess it because i am using animation.

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