[Mono-dev] UITableView load more records functionality.

Mike Murdock mmurdock at allmeds.com
Wed May 9 14:53:14 UTC 2012

Thanks for the reply. I have got a new issue maybe you can help.

I am loading a table and want to limit the number of records show. I would like to show only 10 records and then at the bottom of the UItableview in the footer section add a button that says "Load More results"
Should I load the whole record set that may be large and then have the button in the UITableView change the "rowsinsection" count.

Any help would be appreciated.

What is the link for monotouch list.



From: Rodrigo Kumpera [mailto:kumpera at gmail.com]
Sent: Thursday, May 03, 2012 7:51 AM
To: Mike Murdock
Cc: mono-devel-list at lists.ximian.com
Subject: Re: [Mono-dev] Trying to change font size in pickerview can anyone translate this to c#

You should try the monotouch or mono-mac lists for MonoTouch of MonoMac questions.

Anyway, what you want is probably something like this:

public UIView GetView (UIPickerView pickerView, int row, int component, UIView view) {
   UILabel tView = (UILabel)view;
   if (tView == null)
     tView = new UILabel ();

Remember to put this method in a class that extends UIPickerViewDelegate.

Hope it helped.


On Wed, May 2, 2012 at 2:58 PM, Mike Murdock <mmurdock at allmeds.com<mailto:mmurdock at allmeds.com>> wrote:
- (UIView *)pickerView:(UIPickerView *)pickerView viewForRow:(NSInteger)row forComponent:(NSInteger)component reusingView:(UIView *)view{
    UILabel* tView = (UILabel*)view;
    if (!tView){
        tView = [[UILabel alloc] init];
            // Setup label properties - frame, font, colors etc
    // Fill the label text here
    return tView;

Michael Murdock
Software Engineer

(865) 482-1999<tel:%28865%29%20482-1999>
(865) 481-0921<tel:%28865%29%20481-0921> fax

Mono-devel-list mailing list
Mono-devel-list at lists.ximian.com<mailto:Mono-devel-list at lists.ximian.com>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20120509/dc406ace/attachment.html>

More information about the Mono-devel-list mailing list