Listview click problem

tpakis

Active Member
Licensed User
Longtime User
Hello all, i have a very weird problem. I have 2 projects using listviews and when used on phones with android 4 the click on an listview item doesn't work the first time. If you scroll the list up or down then the click is ok. This problem doesn't appear on emulator or android 2.3

Any ideas?
 

stevel05

Expert
Licensed User
Longtime User
I had something similar, Erel provided a solution here. It may help you.
 

tpakis

Active Member
Licensed User
Longtime User
It looks like a similar case. Did your app work well on emulator? Mine on emulator and on 2.3 and 2.2 device work without a problem. Also my listview doesn't work on the first time not after a click. I don't know why but it think it may have something to do with the admob don't know how
 

stevel05

Expert
Licensed User
Longtime User
Ahhh, I don't use admob, I just removed the bringtofront as suggested there and it worked OK.
 

tpakis

Active Member
Licensed User
Longtime User
I isolated the problem with a library of mine, and i m working on a solution
 

tpakis

Active Member
Licensed User
Longtime User
I really can't solve it, what happens to a listview when i scroll it up or down (it works all the time) and what happens with a click on an item (after one of them is finaly clicked, everything works fine afterwards). Bringtofront doesn't work neither does getfocus :confused::(
 
Top