彭振皖

 

2023年4月13日

Android12新加入了singleInstancePerTask类型

摘要: The activity can only be running as the root activity of the task, the first activity that created the task, and therefore there will only be one inst 阅读全文

posted @ 2023-04-13 14:50 彭振皖 阅读(81) 评论(0) 推荐(0) 编辑

Android开发startActivityForResult()弃用,推荐使用registerForActivityResult()方法

摘要: SecondActivity中 public class SecondActivity extends AppCompatActivity { private static final String TAG = "SecondActivity"; @Override protected void o 阅读全文

posted @ 2023-04-13 14:48 彭振皖 阅读(325) 评论(0) 推荐(0) 编辑

导航