[Mono-bugs] [Bug 640406] New: UITableViewCell - Cannot reset the EditingAccessoryView to NULL

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Sep 19 13:07:02 EDT 2010


https://bugzilla.novell.com/show_bug.cgi?id=640406

https://bugzilla.novell.com/show_bug.cgi?id=640406#c0


           Summary: UITableViewCell - Cannot reset the
                    EditingAccessoryView to NULL
    Classification: Mono
           Product: MonoTouch
           Version: unspecified
          Platform: Macintosh
        OS/Version: Mac OS X 10.6
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Class Libraries
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: johan.otto at justenough.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: Customer
           Blocker: ---


Description of Problem:

When you set the EditingAccessoryView of a UITableView cell to null there's an
ArgumentException. This is not the case when you do this for the AccessoryView

Steps to reproduce the problem:
1. Declare a UITableViewCell and instantiate for a UITableView in a
UITableViewSource GetCell delegate method.
2. Change the accessory & editing accessory view. 

UIActivityIndicatorView activityIndicator = new
UIActivityIndicatorView(UIActivityIndicatorViewStyle.Gray);

cell.AccessoryView = activityIndicator;
cell.EditingAccessoryView = activityIndicator;

2. Now set it back to null
cell.AccessoryView = null;
cell.EditingAccessoryView = null;


Actual Results:
ArgumentNullException for the editing accessory view. This is not good.


Expected Results:

Should be able to "reset" the cell state without any exceptions.


How often does this happen? 
Everytime

Additional Information:

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list