|
@@ -20,6 +20,7 @@ import com.sunwin.visitorapp.fragment.HomeFr;
|
|
|
import com.sunwin.visitorapp.fragment.RegTypeFragment;
|
|
|
import com.sunwin.visitorapp.fragment.VisitSignFragment;
|
|
|
import com.sunwin.visitorapp.utils.Constant;
|
|
|
+import com.sunwin.visitorapp.utils.NetUtils;
|
|
|
import com.sunwin.visitorapp.utils.PopupWindowHelper;
|
|
|
import com.sunwin.visitorapp.utils.SharePrefenceUtils;
|
|
|
import com.sunwin.visitorapp.utils.ToastUtils;
|
|
@@ -108,6 +109,7 @@ public class HomeAc extends BaseActivity implements View.OnClickListener, RegTyp
|
|
|
finish();
|
|
|
break;
|
|
|
case R.id.ImageStatus:
|
|
|
+ mTvNetStatus.setText(NetUtils.isConnected(this)?"正常":"未连接网络");
|
|
|
popupWindowHelper.showAsDropDown(ImageStatus);
|
|
|
break;
|
|
|
}
|