Beispiel #1
0
 public void onCreate(Bundle bundle) {
   super.onCreate(bundle);
   setContentView(0x7f040055);
   findViewById(0x7f1101e4).setOnClickListener(this);
   bundle = (Toolbar) findViewById(0x7f11012c);
   setSupportActionBar(bundle);
   bundle.setNavigationIcon(0x7f02025f);
 }
 protected void onCreate(Bundle bundle) {
   super.onCreate(bundle);
   setContentView(0x7f040003);
   bundle = getIntent();
   if (bundle.hasExtra(
       "com.fitbit.activity.ui.landing.ActivityLandingActivity.EXTRA_ACTIVITY_TYPE")) {
     c =
         (ActivityType)
             bundle.getSerializableExtra(
                 "com.fitbit.activity.ui.landing.ActivityLandingActivity.EXTRA_ACTIVITY_TYPE");
   }
   Object obj =
       getSupportFragmentManager()
           .findFragmentByTag("ActivityLandingActivity.TAG_ACTIVITY_DAYS_LIST_FRAGMENT");
   bundle = ((Bundle) (obj));
   if (obj == null) {
     bundle = ActivityDaysListFragment.a(c);
   }
   obj = getSupportFragmentManager().beginTransaction();
   ((FragmentTransaction) (obj))
       .replace(0x7f110009, bundle, "ActivityLandingActivity.TAG_ACTIVITY_DAYS_LIST_FRAGMENT");
   ((FragmentTransaction) (obj)).commit();
   setTitle(getString(c.e()));
 }