Example #1
0
        public static ImageFragment newInstance(string title, string description, string pictureLink)
        {
            ImageFragment fragment = new ImageFragment();
            Bundle        args     = new Bundle();

            args.PutString(PICTURE_TITLE, title);
            args.PutString(PICTURE_DESCRIPTION, description);
            args.PutString(PICTURE_LINK, pictureLink);
            fragment.Arguments = args;

            return(fragment);
        }
Example #2
0
 public override Android.Support.V4.App.Fragment GetItem(int position)
 {
     return(ImageFragment.newInstance(
                imageList[position].Name, imageList[position].Description, imageList[position].Link));
 }