tete wrote:

> The problem is that i can't cast my custom EditText to a EditText in my 
> adapter. Or, saw it from a diferent point, i can´t place my custom EditText 
> in my Layout.
>
> Thanks for answer me anyway.
>

Thanks for not answering me anyway.

How do you expect help without interacting with those trying to help you?

I asked questions. I would be glad to try to help you if you answered them. 
 Please
consider doing so. Since you have refused so far, I am much less glad.

-- 
Lew
 

>
> 2012/10/29 Lew 
>
>> tete wrote:
>>
>>> No, i [sic] couldn't resolve it.
>>>
>>> Sorry.
>>>
>>
>> Maybe an SSCCE would help generate answers.
>> http://sscce.org/
>>
>> The problem is that you gave no information about your problem, other 
>> than you got a 
>> 'ClassCastException'. 
>>
>> Casting what to what? How were things declared? ... generated?
>> You overrode what with what? How did you tell Android to use the new type?
>>
>> -- 
>> Lew
>>
>>  Greg Mayworm wrote:
>>
>>>  I am having the same result.  Did you resolve this issue?
>>>>
>>>>
>>>> On Monday, May 28, 2012 7:22:57 PM UTC-5, tete wrote:
>>>>>
>>>>> Hello people,
>>>>>
>>>>> I want to override the OnKeyPreIme method of a EditText got from a 
>>>>> findByView(int id), to make the activitiy finish() when user press back 
>>>>> key.
>>>>>
>>>>> The only way I thought is creating a custom EditText and overriding 
>>>>> OnKeyPreIme, but when I tried to cast the EditText of my view in my 
>>>>> custom 
>>>>> EditText, it throws a ClassCastException
>>>>>
>>>>
>  

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to