Hi guys/gals,
I'm having trouble accessing MonoTouch Dialog elements.
Example is:
I have a list of items from which i create StringElements in section. After
elements is tapped, i would like to go to a new view, on which i would, based
on the element tapped filled out the data.
StringElement.Tapped is without parameters,
se.Tapped += () =>
{
};
and i can't find a proper way to send reference of the object that is tapped.
I'm currently using DialogViewControllers, for my main view, on which i create
list of name, and on my detail view which i need to fill up with data based on
element from the main view.
I did try with this
public void RowSelected (UITableView tableView, NSIndexPath indexPath)
{
DetailViewController dvc = new DetailViewController (names [indexPath.Row]);
this.NavigationController.PushViewController (dvc, true);
}
But I don't see any effect.
Thanks!
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch