一.参考
1.android.view.WindowManager$BadTokenException崩溃的4种情形
https://www.jianshu.com/p/4c5fafe08fa7
2.Problems creating a Popup Window in Android Activity
https://stackoverflow.com/questions/4187673/problems-creating-a-popup-window-in-android-activity
3.listpopwindow popupwindow区别
https://ask.csdn.net/questions/178628
二. Todo
参考1的文章没全读完,