[android-developers] Re: Android onLayout() and AsyncTask() does not work together

2011-12-27 Thread Binh Nguyen
I finally find out the answer, the setColumnCollapsed() makes the table layout refreshed, however we need to put it in another AsyncTask, otherwise it will not work, strange :( .I put the latest code here, so hope it is helpful for someone. Besides, this is just workaround, so feel free to post

[android-developers] Re: Android onLayout() and AsyncTask() does not work together

2011-12-26 Thread Binh Nguyen
Yeah, I got it from AsyncTask usage, so the onLayout() should work, right. btw, I attach some screenshots on Stack Overflow site, so you can see the problem clearly: http://stackoverflow.com/questions/8613465/android-onlayout-and-asynctask-does-not-work-together Binh Nguyen On Dec 27, 5:35 am,

[android-developers] Re: Android onLayout() and AsyncTask() does not work together

2011-12-26 Thread Zsolt Vasvari
I'd pepper a bunch of Log.v() calls throught the code and see where it goes wrong. On Dec 27, 9:59 am, Binh Nguyen nguyenthanhbinh1...@gmail.com wrote: Yeah, I got it from AsyncTask usage, so the onLayout() should work, right. btw, I attach some screenshots on Stack Overflow site, so you can