@Override protected void onRestart() { super.onRestart(); if (setting_invalidate_checker_.isInvalidated()) { Intent intent = new Intent(this, this.getClass()); MigrationSDK5.Intent_addFlagNoAnimation(intent); startActivity(intent); finish(); return; } }
@Override protected void onPostCreate(Bundle savedInstanceState) { super.onPostCreate(savedInstanceState); final GestureDetector gd = ForwardableActivityUtil.createFlickGestureDetector(this); getExpandableListView() .setOnTouchListener( new OnTouchListener() { @Override public boolean onTouch(View v, MotionEvent event) { return gd.onTouchEvent(event); } }); }
@Override protected void onCreate(Bundle savedInstanceState) { if (getTuboroidApplication().isFullScreenMode()) { getWindow().addFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN); } else { getWindow().addFlags(WindowManager.LayoutParams.FLAG_FORCE_NOT_FULLSCREEN); } setRequestedOrientation(getTuboroidApplication().getCurrentScreenOrientation()); getTuboroidApplication().applyTheme(this); setting_invalidate_checker_ = getTuboroidApplication().getSettingInvalidateChecker(); super.onCreate(savedInstanceState); ForwardableActivityUtil.onCreate(this); }
@Override public void onContentChanged() { super.onContentChanged(); btnListScroll = TuboroidListActivity.createScrollButton(this, getExpandableListView()); if (btnListScroll != null) { btnListScroll.setOnClickListener( new OnClickListener() { @Override public void onClick(View v) { setListPageDown(); } }); TuboroidListActivity.setScrollButtonPosition( btnListScroll, getTuboroidApplication().view_config_.scroll_button_position); } }
@Override protected void onActivityResult(int requestCode, int resultCode, Intent data) { ForwardableActivityUtil.onActivityResult(this, data); super.onActivityResult(requestCode, resultCode, data); }