[Mono-bugs] [Bug 665532] New: TextChanged event in EditText's controller its not working!

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Jan 19 10:17:49 EST 2011


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

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


           Summary: TextChanged event in EditText's controller its not
                    working!
    Classification: Mono
           Product: MonoDroid
           Version: unspecified
          Platform: Other
        OS/Version: Windows 7
            Status: NEW
          Severity: Major
          Priority: P5 - None
         Component: Runtime
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: Orlandolsilva at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: Beta-Customer
           Blocker: No


Created an attachment (id=409127)
 --> (http://bugzilla.novell.com/attachment.cgi?id=409127)
Sample that describes that the TextChanged's event of EditText's controller it
is not working.

Description of Problem:
The TextChanged event in EditText's controller its not working!
If we subscribe the TextChanged event and then change the controller's text,
the event will not be fired..

Steps to reproduce the problem:
1. Compile the Solution attached to this bug report and run it.
2. Change the EditText's text available in the app.


Actual Results:
 - This sample has one TextView that everytime the TextChanged's event is
triggered it will change its content to match the EditText's text.
 - The TextView is always empty.

Expected Results:
 - The TextView's text was supposed to be the same than EditText's text.


How often does this happen? 
Everytime.

Additional Information:
I found that there is an way arround for this bug. 
Try to uncomment the next lines in the attached sample project.

// editText.BeforeTextChanged += new
EventHandler<Android.Text.TextChangedEventArgs>(editText_BeforeTextChanged);
// editText.AfterTextChanged += new
EventHandler<Android.Text.AfterTextChangedEventArgs>(editText_AfterTextChanged);

After you do this, the TextChanged's event will start working...

-- 
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