Demo entry 6642924

java

   

Submitted by nie on Sep 26, 2017 at 07:55
Language: Java. Code size: 410 Bytes.

       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).