public ActionsItemClickListener(ExamplesActivity outerInstance, ActionsAdapter actionsAdapter)
 {
     this.OuterInstance = outerInstance;
     this.ActionsAdapter = actionsAdapter;
 }
        protected override void OnCreate(Bundle savedInstanceState)
        {
            base.OnCreate(savedInstanceState);

            mSettingsChangedListener = new SettingsChangedListener(this);

            SetContentView(Resource.Layout.example);

            viewActionsContentView = FindViewById<ActionsContentView>(Resource.Id.actionsContentView);
            viewActionsContentView.SwipingType = ActionsContentView.SwipingEdge;

            ListView viewActionsList = FindViewById<ListView>(Resource.Id.actions);
            ActionsAdapter actionsAdapter = new ActionsAdapter(this);
            viewActionsList.Adapter = actionsAdapter;
            viewActionsList.OnItemClickListener = new ActionsItemClickListener(this, actionsAdapter);

            ImageButton mainButton = FindViewById<ImageButton>(Resource.Id.mainButton);
            mainButton.Click += OnActionsButtonClick;

            Button sourceCodeButton = FindViewById<Button>(Resource.Id.sourceCodeButton);
            sourceCodeButton.Click += OnSourceCodeClick;

            if (savedInstanceState != null)
            {
                CurrentUri = Uri.Parse(savedInstanceState.GetString(STATE_URI));
                CurrentContentFragmentTag = savedInstanceState.GetString(STATE_FRAGMENT_TAG);
            }

            UpdateContent(CurrentUri);
        }