我有以下代码并且无法检查条件...我该如何解决?
@Override
protected void onPostExecute(Void result) {
if (null != pDialog && pDialog.isShowing()); {
pDialog.dismiss();
}
if (null == arrayList || arrayList.size() == 0) {
showToast("No data found from web!!!");
MainActivity.this.finish();
} else {
Collections.sort(arrayList);
setAdapterToListview(arrayList);
}
super.onPostExecute(result);
}