[MonoTouch] UITableViewDataSource.GetCell is not called

Fan Song fansong at feifanuniv.com
Sat Oct 15 04:51:19 EDT 2011


Hi,

I had a class inhered from UITableViewDataSource and override
NumberOfSections, RowsInSection and GetCell. In the project, I construct a
UIViewTable and assign the DataSource property, both NumberOfSections and
RowsInSection are called, but GetCell is never called.

I had tried a lot of tricks, cannot get it work. Finally, after I switch to
UIViewTableController instead of UIViewTable, it works. Could anyone give me
some insight about why?

Thanks,
Fan

--
View this message in context: http://monotouch.2284126.n4.nabble.com/UITableViewDataSource-GetCell-is-not-called-tp3907049p3907049.html
Sent from the MonoTouch mailing list archive at Nabble.com.


More information about the MonoTouch mailing list