public static SpeakerDetailsFragment NewInstance(int playId)
        {
            var detailsFrag = new SpeakerDetailsFragment {
                Arguments = new Bundle()
            };

            detailsFrag.Arguments.PutInt("current_speaker_id", playId);
            return(detailsFrag);
        }
        private void ShowDetails(int speakerId)
        {
            _currentSpeakerId = speakerId;

            // Check what fragment is shown, replace if needed.
            var details = FragmentManager.FindFragmentById(Resource.Id.content_frame) as SpeakerDetailsFragment;

            if (details == null || details.ShownSpeakerIndex != speakerId)
            {
                // Make new fragment to show this selection.
                details = SpeakerDetailsFragment.NewInstance(speakerId);

                // Insert the fragment by replacing any existing fragment
                FragmentManager.BeginTransaction()
                .Replace(Resource.Id.content_frame, details)
                .AddToBackStack(null)
                .Commit();
            }
        }
		public static SpeakerDetailsFragment NewInstance (int playId)
		{
			var detailsFrag = new SpeakerDetailsFragment { Arguments = new Bundle () };
			detailsFrag.Arguments.PutInt ("current_speaker_id", playId);
			return detailsFrag;
		}