[android-developers] Re: Focus problem in GridView inside Dialog

2010-07-07 Thread Piotr Buła
Sorry, your question slipped under my radar, but here goes the (late) answer. First, let me explain what I wanted to achieve. The list I was going to present in the dialog could potentially contain a lot of images, so loading them all and keeping in memory was not a good idea. So I decided that

[android-developers] Re: Focus problem in GridView inside Dialog

2010-07-01 Thread Jalal
Hi Piotr, I'm facing exactly the same problem: untouchable GridView items inside a Dialog, they can only be clicked after gain focus with the TrackBall. Can you explain me better the solution you found? I didn't understand it. Thanks, Jalal On 9 jun, 19:09, Piotr Buła wrote: > Just for the reco

[android-developers] Re: Focus problem in GridView inside Dialog

2010-06-09 Thread Piotr Buła
Just for the record, I resolved the problem. The problem was in ListAdapter, or rather, the way it interacted with the rest of the program. As a result, call to getItem() triggered unnecessary list change notification, which caused this weird behavior. Cheers, Piotr On 7 Cze, 19:44, Piotr Buła w