c# - MonoTouch.Dialog Overriding GetCell? -
in mt.dialog source class has this:
public override uitableviewcell getcell (uitableview tableview, monotouch.foundation.nsindexpath indexpath) { ...... }
in class:
public class basedialogviewcontroller : dialogviewcontroller
how override public override uitableviewcell getcell
this doesn't work:
public override getcell ....
thanks
note: trying implement: http://fastchicken.co.nz/2012/05/20/earnest-debrief-visual-styles-in-ios-apps-uiappearence-custom-sections-in-monotouch-dialog/
dialogviewcontroller
not have getcell
method.
public class basedialogviewcontroller : dialogviewcontroller
won't work. dialogviewcontroller.source
, nested type, has getcell
method so
public class basedialogviewcontrollersource : dialogviewcontroller.source { public override uitableviewcell getcell... }
should work. of course need own subclass of dialogviewcontroller
use new subclass of source
. can done overriding createsizingsource
method.
Comments
Post a Comment