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); }
public override Android.Support.V4.App.Fragment GetItem(int position) { return(ImageFragment.newInstance( imageList[position].Name, imageList[position].Description, imageList[position].Link)); }