Browse Source

默认地址改为获取记录

master
姜鹏 1 year ago
parent
commit
3bea6c868a
  1. 3
      app/src/main/java/com/icssoft/icspda/activity/SetSiteActivity.java

3
app/src/main/java/com/icssoft/icspda/activity/SetSiteActivity.java

@ -49,6 +49,7 @@ public class SetSiteActivity extends AppCompatActivity {
super.onCreate(savedInstanceState); super.onCreate(savedInstanceState);
setContentView(R.layout.activity_setsite); setContentView(R.layout.activity_setsite);
bindView(); bindView();
login_ip.setText((String)SharedPreUtil.getData(this,"ip",""));
} }
@Override @Override
public boolean onKeyDown(int keyCode, KeyEvent event) { public boolean onKeyDown(int keyCode, KeyEvent event) {
@ -76,8 +77,6 @@ public class SetSiteActivity extends AppCompatActivity {
login_ip = findViewById(R.id.login_ip); login_ip = findViewById(R.id.login_ip);
tvMsg = findViewById(R.id.tv_msg); tvMsg = findViewById(R.id.tv_msg);
login_ip.setText("http://10.100.3.13:8020");
test.setOnClickListener(new View.OnClickListener() { test.setOnClickListener(new View.OnClickListener() {
@Override @Override
public void onClick(View v) { public void onClick(View v) {

Loading…
Cancel
Save