@Override protected void onDestroy() { super.onDestroy(); mGame = null; mGameTabs = null; mViewPager = null; FrameworkUtils.setEmptyList(mFragmentList); }
@Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_game); mGameId = getStringExtra("game_id"); mGameTitle = getStringExtra("game_name"); mGameType = getStringExtra("game_type"); handleIntent(); initActionBar(); getData(); }