首页 > TAG信息列表 > AActivity
startActivityForResult跳转后回调数据
从AActivity向BActivity跳转后,关闭BActivity并向AActivity回调一些数据: 建立AActivity.java文件: 1 public class AActivity extends AppCompatActivity { 2 private Button btnJump; 3 @Override 4 protected void onCreate(Bundle savedInstanceState) { 5Activity跳转显示及隐式方法
1 public class AActivity extends AppCompatActivity { 2 private Button btnJump; 3 @Override 4 protected void onCreate(Bundle savedInstanceState) { 5 super.onCreate(savedInstanceState); 6 setContentView(R.layout.activity_aa