Hi,

Since I upgraded to Monotouch 4.0.7, my indexed tables are not 
working properly anymore - The indexes are still working, but not 
visible.

This bug is documented at 
http://bugzilla.xamarin.com/show_bug.cgi?id=54, and it also lists 
some kind of bug workaround,  but unfortunately I don't know 
where to put this code:

NSArray array;

[Export ("sectionIndexTitlesForTableView:")]
public NSArray SectionTitles(UITableView tableview)
{
     if(array == null)
     {
         array = NSArray.FromStrings(_indexTitles.ToArray());
     }

     return array;
}


I'm using Monotouch.Dialog, so I tried putting the code in my 
DialogViewController descendant, but that did not have any 
effect. What am I doing wrong?

Thanks,

Adrian Grigore

_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to