https://bugzilla.novell.com/show_bug.cgi?id=640194
https://bugzilla.novell.com/show_bug.cgi?id=640194#c0 Summary: Cannot override TextView.Text Classification: Mono Product: MonoDroid Version: SVN Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Class Libraries AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: --- Blocker: --- Repro: public class MyTextView : TextView { public MyTextView (IntPtr handle) : base (handle) { } public override Java.Lang.CharSequence Text { get { return base.Text; } set { base.Text = value; } } } Compilation Exception: stderr: C:\Users\Jonathan\Documents\Visual Studio 2010\Projects\MonoDroidApplication5\obj\Debug\android\src\monoDroidApplication5\Activity1_MyTextView.java:46: setText(java.lang.CharSequence) in monoDroidApplication5.Activity1_MyTextView cannot override setText(java.lang.CharSequence) in android.widget.TextView; overridden method is final public void setText (java.lang.CharSequence p0) I guess this is due to TextView having 5 setText methods, 4 of which are final, and 1 which is not: http://developer.android.com/reference/android/widget/TextView.html -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
