public override View OnCreateView(LayoutInflater inflater,
                                          ViewGroup container, Bundle savedInstanceState)
        {
            base.OnCreateView(inflater, container, savedInstanceState);

            this.view = inflater.Inflate(
                Resource.Layout.Home, container, false);

            this.pictureView = view.FindViewById <ImageView> (Resource.Id.pictureView);
            this.spinner     = view.FindViewById(Resource.Id.spinner);

            // Get our button from the layout resource,
            // and attach an event to it
            View nextButton = view.FindViewById(Resource.Id.nextButton);
            View prevButton = view.FindViewById(Resource.Id.prevButton);

            TextView fullWordText = view.FindViewById <TextView> (Resource.Id.fullWordText);

            nextButton.Click += delegate {
                string nextWord = handler.GetNextWord();
                if (!String.IsNullOrEmpty(nextWord))
                {
                    fullWordText.Text = nextWord;
                    ShowImage();
                }
            };

            prevButton.Click += delegate {
                string prevWord = handler.GetPreviousWord();
                if (!String.IsNullOrEmpty(prevWord))
                {
                    fullWordText.Text = prevWord;
                    ShowImage();
                }
            };

            nextButton.CallOnClick();

            return(this.view);
        }
 public bool PreviousWord(AnimalAdjectiveHandler handler, object textView, object favsButton, FavouritesManager favsManager)
 {
     return(this.ShowNextWord(handler.GetPreviousWord(), textView, favsButton, handler, favsManager));
 }