public override View OnCreateView(LayoutInflater Inflater, ViewGroup container,
                                              Bundle savedInstanceState)
            {
                View v = Inflater.Inflate(R.Layouts.fragment_retain_instance, container, false);

                // Watch for button clicks.
                Button button = (Button)v.FindViewById(R.Ids.restart);

                button.Click += (o, a) => mWorkFragment.Restart();

                return(v);
            }
            public override View OnCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
            {
                var v = inflater.Inflate(Resource.Layout.fragment_retain_instance, container, false);

                // Watch for button clicks.
                var button = v.FindViewById <Button> (Resource.Id.restart);

                button.Click += (sender, e) => {
                    workFragment.Restart();
                };

                return(v);
            }