Skip to content

DropDown menu doesn't work when change fragment #145

@andreachiera

Description

@andreachiera

If i use MaterialSpinner in a fragment, and i reuse this fragment later than dropdown menu doesn't work. I think that the problem is related to canShowPopup() method, maybe the component is detached from activity and getActivity() return null.

Momentary solution:
MaterialSpinner.getPopupWindow().showAsDropDown(MaterialSpinner);

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