On Dec 6, 2011, at 8:24 AM, Tossing, Chris wrote:
> I’m getting the same exception as my previous email with the following code:
>  
>     FindViewById<EditText>(Resource.Id_WOSR_actWoDetails.tbxWoNumValue)
>         .SetFilters(new IInputFilter[] { new 
> Android.Text.InputFilterLengthFilter(value) });

This is a bug in finding the Java type corresponding to a managed type. It will 
be fixed in the next release.

In the meantime, before the SetFilters() call (e.g. during app startup), do:

        Android.Runtime.TypeManager.RegisterType ("android/text/InputFilter", 
typeof (IInputFilter));

Thanks,
 - Jon

_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to