草庐IT

firstUser

全部标签

java - 在 "firstUse"之后 onCreate 报告的 Android 首选项设置不一致——我的错,但是怎么样?

EDIT我忘记了一大块代码。在此处插入。@OverridepublicbooleanonOptionsItemSelected(MenuItemitem){Log.w("Beforeswitch",(String)item.getTitle());switch(item.getItemId()){caseR.id.menu_settings:Log.w("Beforeintent","\n");Intentintent=newIntent(this,SettingsActivity.class);startActivity(intent);Log.w("backfromintent",