Ok interesting twist here, found the cause. After a fair amount of searching
I realized that there's a dozen or more reasons people have found where the
delegate methods do not fire. One of the common reasons is because you
specify both a Delegate and Source for the table. I wasn't doing
that...directly anyway..but I was doing the following...
I actually have two UITableView instances, and the scrolling of the two
tables is synchronized like this:
LeftTable.Scrolled += (sender, e) => RightTable.ContentOffset =
LeftTable.ContentOffset;
RightTable.Scrolled += (sender, e) => LeftTable.ContentOffset =
RightTable.ContentOffset;
That works great. Easy to hook up and works perfectly. But with those event
handlers in place the RowSelected override in the UITableViewSource was not
firing. Comment out those lines voila, works fine. So it seems to me that
using that Scrolled event in conjunction with the Source property causes the
same situation described by others for the Delegate/Source combo.
The workaround of course is to sync scrolling by overriding the Scrolled
event in the UITableViewSource instead.
--
View this message in context:
http://monotouch.2284126.n4.nabble.com/custom-header-view-for-uitableview-not-showing-tp4657990p4658008.html
Sent from the MonoTouch mailing list archive at Nabble.com.
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch