[Monodroid] Change in preview 13 related to EditText.Text

Paul Camacho paul.camacho at gmx.de
Wed Mar 2 05:20:33 EST 2011


If you don't need any formatting just use TextView.Text = text

Doesn't that work?




Am 02.03.2011 um 11:12 schrieb Orlando Silva <orlandolsilva at gmail.com>:

> Hello,
> 
> Now in P13, when i try to do:
> 
> "
> string text = "new string";
> this.TextView.TextFormatted = text;
> "
> 
> I get the compile error "Cannot implicitly convert type 'string' to 'Java.Lang.ICharSequence' "? Now, how can i set an string value to the TextView's controller?
> 
> Thanks for all your help,
>  Orlando 
> 
> 
> 
> On Fri, Feb 25, 2011 at 11:28 PM, Dan Kibby <DKIBBY at motorstate.com> wrote:
> Intentional...release notes clarify
> 
> 
> Chris Erickson <chris at cartopac.com> wrote:
> 
> Hello,
> In preview 13, I had something break where I was setting an EditText.Text property to null and I'm now getting a null reference exception…
> 
> Was this change intentional or is this a defect?
> 
> chris erickson
> chris at cartopac.com
> _______________________________________________
> Monodroid mailing list
> Monodroid at lists.ximian.com
> 
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid
> 
> _______________________________________________
> Monodroid mailing list
> Monodroid at lists.ximian.com
> 
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/mailman/private/monodroid/attachments/20110302/cd489fa6/attachment.html 


More information about the Monodroid mailing list