JAVA日报
时间:2021-06-20 18:06:10
收藏:0
阅读:0
从零开始的体温app开发(基本操作)
editText0 = (EditText) findViewById(R.id.edt_name);
editText0.setText();//编辑 编辑框内容
Intent intent = new Intent();
intent.setClass(getApplicationContext(), FirstActivity.class);
startActivity(intent);//跳转
finish();//关闭当前页面
intent.putExtra("message",position);
Bundle bundle=getIntent().getExtras();
if(bundle!=null){
int message=bundle.getInt("message",0);
Log.e("S",""+message);
initcharacter(message);
}//传参 接收参数
评论(0)