My if statement is not working.
<p>i have below code and cant check if condition ... how can i solve it ?</p>

<pre><code>@Override
    protected void onPostExecute(Void result) {
        if (null != pDialog &amp;&amp; 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);
    }
</code></pre>
