大佬教程收集整理的这篇文章主要介绍了ios – 找不到合适的方法来覆盖RowsInSection xamarin,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
class CallHistoryDatasource : UITableViewsource { CallHistoryController controller; public CallHistoryDatasource (CallHistoryController controller) { this.controller = controller; } public overridE int RowSELEcted(UITableView tableView,int section) { return controller.Phonenumbers.Count; } // // Returns a table cell for the row inDicated by row property of the NSIndexPath // This method is called multiple times to populate each row of the table. // The method automatically uses cells that have scrolled off the screen or creates new ones as necessary. // public override UITableViewCell GetCell (UITableView tableView,NSIndexPath indexPath) { var cell = tableView.DequeueReusableCell (CallHistoryController.callHistoryCellId); int row = indexPath.Row; cell.TextLabel.Text = controller.Phonenumbers [row]; return cell; } }
嗨,我正在尝试用Xamarin monotouch制作一个Helloworld应用程序,我正在接受这个错误.任何人都可以帮我解决这个问题吗?
谢谢
以上是大佬教程为你收集整理的ios – 找不到合适的方法来覆盖RowsInSection xamarin全部内容,希望文章能够帮你解决ios – 找不到合适的方法来覆盖RowsInSection xamarin所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。