private void ShowDetails(int sessionId)
        {
            _currentSessionId = sessionId;

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

            if (details == null || details.ShownSessionIndex != sessionId)
            {
                // Make new fragment to show this selection.
                details = SessionDetailsFragment.NewInstance(sessionId);

                // Insert the fragment by replacing any existing fragment
                FragmentManager.BeginTransaction()
                .Replace(Resource.Id.content_frame, details)
                .AddToBackStack(null)
                .Commit();
            }
        }