在创建一个Dialog时,发生的错误:
Unable to add window -- token null is not for an application
不能用getAPplicationContext(),必须要有指定的activity
在创建一个Dialog时,发生的错误:
Unable to add window -- token null is not for an application
不能用getAPplicationContext(),必须要有指定的activity