Heya I have created a custom compass view and a custom listView and there are all mixed up togother in one xml file. In my main class i inflate this xml file to get references on the different objects i want to manipulate (i.e my compass and my ListView). Basisicaly what my app does is write some info in a list view when my compassview tell him to. This works perfectly fine when i draw the info with a method drawText(canvas ....) in my compass view but when i try to set a listView it almost work, but i can't get any action on it. I mean the list display the right text but i can't scroll into it or even click on items. I've tested when i set the list manualy and the response on the focus or the scroll works so i don't understand why it ain't working when i set the values automatically.
To add values to my ListView i use an ArrayAdapter<myObject> that i declare in my onCreate method and then set at each time my sensor change (at least when the info are not the same). After hours or research I think there might be a problem coming from the fact im clearing the values on this ArrayAdapter and adding new one at each time the list changes. But TBFH I don't know how to fix this. Either that or it's because it is creating a lot of ListView and i can't get the focus on that because the list im clicking on is always changing... Anyone got a clue? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---