From 3bea6c868abe993c8dc6bad42861ce6c969e8303 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A7=9C=E9=B9=8F?= Date: Fri, 1 Sep 2023 14:50:06 +0800 Subject: [PATCH] =?UTF-8?q?=E9=BB=98=E8=AE=A4=E5=9C=B0=E5=9D=80=E6=94=B9?= =?UTF-8?q?=E4=B8=BA=E8=8E=B7=E5=8F=96=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/icssoft/icspda/activity/SetSiteActivity.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/src/main/java/com/icssoft/icspda/activity/SetSiteActivity.java b/app/src/main/java/com/icssoft/icspda/activity/SetSiteActivity.java index 02cf984..e809b2b 100644 --- a/app/src/main/java/com/icssoft/icspda/activity/SetSiteActivity.java +++ b/app/src/main/java/com/icssoft/icspda/activity/SetSiteActivity.java @@ -49,6 +49,7 @@ public class SetSiteActivity extends AppCompatActivity { super.onCreate(savedInstanceState); setContentView(R.layout.activity_setsite); bindView(); + login_ip.setText((String)SharedPreUtil.getData(this,"ip","")); } @Override public boolean onKeyDown(int keyCode, KeyEvent event) { @@ -76,8 +77,6 @@ public class SetSiteActivity extends AppCompatActivity { login_ip = findViewById(R.id.login_ip); tvMsg = findViewById(R.id.tv_msg); - login_ip.setText("http://10.100.3.13:8020"); - test.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) {