android.view.WindowManager$BadTokenException: Unable to add window -- token null is not for an appli
原博客地址:http://aijiawang-126-com.javaeye.com/blog/662336在Activity中newSpinner是我把mContext传入,但是出了android.view.WindowManager$BadTokenException:Unabletoaddwindow--tokennullisnotforanapplication这个错误,参考了达人的文章终