xamarin.ios - MonoTouch.Dialog: AccessoryViews -


i need put check beside row, when using override of course below warning. in monotouch.dialog enable check?

public override uitableviewcellaccessory accessoryforrow (uitableview tableview, nsindexpath indexpath) {          return uitableviewcellaccessory.checkmark; (for row of course, simplified here) } 

warning: using legacy cell layout due delegate implementation of tableview:accessorytypeforrowwithindexpath: in please remove implementation of method , set cell properties accessorytype and/or editingaccessorytype move new cell layout behavior.

this method deprecated, , instead if need use this, need configure uitableviewcells accordingly setting accessorytype , accessoryview properties on it.

just create new element class implements behavior need, check recent blog on patterns building elements:

http://tirania.org/monomac/archive/2011/jan-18.html


Comments

Popular posts from this blog

java - SNMP4J General Variable Binding Error -

windows - Python Service Installation - "Could not find PythonClass entry" -

Determine if a XmlNode is empty or null in C#? -