WifiPasswordDialogCopy dialog = new WifiPasswordDialogCopy(this);
dialog.setDataView(this, ap, mWifiManager, showNotes(ap));
dialog.show();
上面的上下文, 使用 getApplicationContext() 报错 , 应该使用 this
WifiPasswordDialogCopy dialog = new WifiPasswordDialogCopy(this);
dialog.setDataView(this, ap, mWifiManager, showNotes(ap));
dialog.show();
上面的上下文, 使用 getApplicationContext() 报错 , 应该使用 this