/** Return the intent that started this activity. */
public Intent getIntent() {
return mIntent;
}
返回:当前Activity的Intent,所以不为null.
android 中的第一个Activity就用getIntent(),这个Intent不为null.
最新推荐文章于 2021-03-16 14:59:53 发布
/** Return the intent that started this activity. */
public Intent getIntent() {
return mIntent;
}
返回:当前Activity的Intent,所以不为null.