Demo entry 6642895

java

   

Submitted by nie on Sep 26, 2017 at 05:31
Language: Java. Code size: 453 Bytes.

     LoginActivity.loginlistener = loginlist;
        if (!NetworkImpl.isNetWorkConneted(mActivity)) {
            ToastUtil.getInstance(mActivity, "网络连接错误,请检查网络").show();
            Intent login_int = new Intent(mActivity, LoginActivity.class);
            login_int.putExtra("isShowQuikLogin", false);
            login_int.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
            mActivity.startActivity(login_int);
            return;
        }

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).