[android-developers] Re: ListViews getting rendered multiple times

2009-03-21 Thread ljm189
2009-03-21 ljm189 发件人: markdsievers 发送时间: 2009-03-21 08:02:53 收件人: Android Developers 抄送: 主题: [android-developers] Re: ListViews getting rendered multiple times Hi Romain, Thanks for your response, though I had a couple of questions for you; 1) None of the LinearLayout&#

[android-developers] Re: ListViews getting rendered multiple times

2009-03-20 Thread markdsievers
In the sample code linked in my first post, my layout contains no layout_weight attributes. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-deve

[android-developers] Re: ListViews getting rendered multiple times

2009-03-20 Thread markdsievers
Update via private messaging: > 1) None of the LinearLayout's contain the layout_wieght attribute...So > I'm not sure that's my problem. It happens if the layout_weight is on a *child* of a LinearLayout. > 3) Give that this is an overhead, can you suggest an approach that > does not suffer this

[android-developers] Re: ListViews getting rendered multiple times

2009-03-20 Thread markdsievers
Hi Romain, Thanks for your response, though I had a couple of questions for you; 1) None of the LinearLayout's contain the layout_wieght attribute...So I'm not sure that's my problem. 2) Could you please breifly explain the logic behind why the framework requires n passes over the ListViws item

[android-developers] Re: ListViews getting rendered multiple times

2009-03-17 Thread Romain Guy
This is expected if you use layout_weight in your linearlayout for instance. On Mon, Mar 16, 2009 at 7:42 PM, markdsievers wrote: > > So the situation is this, I have a ListView that is embedded in two > LinearLayout ViewGroups to form a screen. BaseAdapter.getView() (the > implementation of the