protected override void OnCreate(Bundle savedInstanceState) { base.OnCreate(savedInstanceState); SetContentView(Resource.Layout.activity_sessions); Intent intent = new Intent(); intent.SetData(ScheduleContract.Tracks.CONTENT_URI); intent.PutExtra(TracksFragment.EXTRA_NEXT_TYPE, TracksFragment.NEXT_TYPE_SESSIONS); FragmentManager fm = SupportFragmentManager; mTracksDropdownFragment = (TracksDropdownFragment)fm.FindFragmentById(Resource.Id.fragment_tracks_dropdown); mTracksDropdownFragment.ReloadFromArguments(IntentToFragmentArguments(intent)); }
protected override void OnCreate(Bundle savedInstanceState) { base.OnCreate(savedInstanceState); SetContentView(Resource.Layout.activity_sessions); Intent intent = new Intent(); intent.SetData(ScheduleContract.Tracks.CONTENT_URI); intent.PutExtra(TracksFragment.EXTRA_NEXT_TYPE, TracksFragment.NEXT_TYPE_SESSIONS); FragmentManager fm = SupportFragmentManager; mTracksDropdownFragment = (TracksDropdownFragment)fm.FindFragmentById(Resource.Id.fragment_tracks_dropdown); mTracksDropdownFragment.ReloadFromArguments(IntentToFragmentArguments(intent)); }