[mono-android] Creating a list of TextViews

Paul Johnson paul at all-the-johnsons.co.uk
Wed Feb 29 21:16:40 UTC 2012


Hi Jon,

On 29/02/2012 20:43, Jonathan Pryor wrote:
> 	foreach (int id in new[]{
> 				Resources.Id.textDate1,
> 				Resources.Id.textDate2,
> 				Resources.Id.textDate3,
> 				/* ... */ }) {
> 		tl.Add (FindViewById<TextView>(id));
> 	}

Perfect - thanks :)

Paul


More information about the Monodroid mailing list