1.出现

   在app showdialog()时偶尔会出现,根据stackoverflow.com的描述,貌似是show的时候用作context的activity以及destroy了,,,一些异步操作会导致这个问题。

   贴出一些解决的issue

    http://stackoverflow.com/questions/9529504/unable-to-add-window-token-android-os-binderproxy-is-not-valid-is-your-activ

    http://stackoverflow.com/questions/7811993/error-binderproxy45d459c0-is-not-valid-is-your-activity-running

    http://stackoverflow.com/questions/5934050/check-whether-activity-is-active/8963867#8963867

    目前先试试if(!((Activity) context).isFinishing())
{
    //show dialog
}

相关文章:

  • 2021-07-25
  • 2021-07-21
  • 2021-09-01
  • 2022-12-23
  • 2021-07-28
猜你喜欢
  • 2022-01-29
  • 2022-12-23
  • 2022-12-23
  • 2021-09-29
  • 2021-10-10
  • 2022-12-23
  • 2021-10-30
相关资源
相似解决方案