PopupMenu PopupWindow$PopupViewContainer leak

前端 未结 1 1048
再見小時候
再見小時候 2021-01-04 20:08

I have a PopupMenu anchored to a button in the Action Bar, and I\'m getting log output about a leaked window.

This occurs if my activity is stopped whil

1条回答
  •  时光取名叫无心
    2021-01-04 20:40

    Simply calling profileMenu.dismiss() onStop() would be enough.

    0 讨论(0)
提交回复
热议问题