摘要: 首先复习下,页面跳转: if (v.getId() == R.id.btn_next) { // startActivity(new Intent(this, ActSendActivity.class)); //创建一个目标确定的意图 Intent intent = new Intent(); / 阅读全文
posted @ 2022-07-31 14:55 小白龙白龙马 阅读(156) 评论(0) 推荐(0)
摘要: 从当前页面跳到新页面,跳转代码如下: startActivity(new Intent(源页面.this, 目标页面.class)); 不会引起歧义的话,也可或者简化为: startActivity(new Intent(this, 目标页面.class)); 从当前页面回到上一个页面,相当于关闭当 阅读全文
posted @ 2022-07-31 13:31 小白龙白龙马 阅读(99) 评论(0) 推荐(0)