T tpakis Active Member Licensed User Longtime User Mar 30, 2013 #1 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?
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 Mar 30, 2013 #2 I had something similar, Erel provided a solution here. It may help you.
T tpakis Active Member Licensed User Longtime User Mar 30, 2013 #3 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
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 Mar 30, 2013 #4 Ahhh, I don't use admob, I just removed the bringtofront as suggested there and it worked OK.
T tpakis Active Member Licensed User Longtime User Mar 30, 2013 #5 Then it must be something else i don't have any bringtofront
T tpakis Active Member Licensed User Longtime User Mar 30, 2013 #6 I isolated the problem with a library of mine, and i m working on a solution
T tpakis Active Member Licensed User Longtime User Apr 1, 2013 #7 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
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
Erel B4X founder Staff member Licensed User Longtime User Apr 2, 2013 #8 Hard to say without seeing the code. You can try to call the native bringToFront: Code: Copy Dim r As Reflector r.Target = ListView1 r.RunMethod("bringToFront")
Hard to say without seeing the code. You can try to call the native bringToFront: Code: Copy Dim r As Reflector r.Target = ListView1 r.RunMethod("bringToFront")