哪个更正确?这:
@Override protected void onSaveInstanceState(Bundle outState) {
super.onSaveInstanceState(outState);
outState.putLong(ID, mId);
}
或这个:
@Override protected void onSaveInstanceState(Bundle outState) {
outState.putLong(ID, mId);
super.onSaveInstanceState(outState);
}
它们都适用于我的 Gingerbread 设备以及 Froyo 和 Ice Cream Sandwich 模拟器,而且我看到的例子很多,其中一种方式和另一种方式一样多。有关系吗?