[mono-android] Content Provider an Matrix Cursor

Jonathan Pryor jonp at xamarin.com
Thu Jan 5 16:06:30 EST 2012


On Jan 5, 2012, at 4:45 AM, caruso wrote:
> Error	4	Argument 1: cannot convert from 'string[]' to 'Java.Lang.Object[]'

Then you'll need to convert:

	mc.AddRow(new string[]{tmp.ID, tmp.Name, tmp.Picture}
			.Select (s => new Java.Lang.String (s))
			.ToArray ());

 - Jon



More information about the Monodroid mailing list