thanks for referring. Questions below are still open:

OPEN Questions:

1. Is someone else also face this issue?
2. Any reason why normal EditText works but EditText in ListView dont?
3. Why IME cursor handle is giving issue in ListView but not
elsewhere?

Regarding "Also is it good to put EditText in ListView or there are
better options?" I have soln for maintaining the content. I can have
text watcher or something.


On Dec 14, 12:45 am, poncho <[email protected]> wrote:
> http://groups.google.com/group/android-developers/browse_thread/threa...
>
> On 12/14/2011 08:08 AM, havexz wrote:
>
>
>
>
>
>
>
> > Hi
>
> > So here is what I did. I have a ListView and each item in it is a
> > EditText. Now, just so you know I am using CursorAdapter with
> > ListView, and I am creating EditText in newView and filling it with
> > some text in bindView.
>
> > Now how to recreate the issue, I just open the activity, click on any
> > of the EditText and just click enough to see the orange color handle
> > appears with cursor. Now just press back twice. Just press fast enough
> > that orange handle still visible on screen. Now wait a sec and you
> > have:
>
> > ..... has leaked window ..... that was originally added here.
>
> > I tried the normal EditText without the ListView and that works fine.
> > What I think is that IME cursor handle is retaining the EditText and
> > leading to leak. I also tried EditText with only 'hint' (empty
> > EditText) and got same issue in the ListView.
>
> > Now my questions:
>
> > Is someone else also face this issue?
> > Any reason why normal EditText works but EditText in ListView dont?
> > Also is it good to put EditText in ListView or there are better
> > options?
>
> > Well this might be a common issue and some common soln. but I searched
> > it found no good soln.
>
> > Thanks in advance.

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