[android-developers] Re: How to have different types of view in ListActivity/BaseAdapter

2009-03-09 Thread hc
so that means if I wish to make a listview of conversation, with some chatbubbles on the right and some on the left, android does not provide support to optimize its display because it expects predictable types for each row? On Feb 23, 2:02 am, Mark Murphy mmur...@commonsware.com wrote: hc

[android-developers] Re: How to have different types of view in ListActivity/BaseAdapter

2009-02-22 Thread Mark Murphy
hc wrote: In a list, is it possible to have different kind of views, inflated from different layout XML? Sure! How am I able to have certain rows with layout inflated from a different XML? The method above seems to assume that all of them will have the same kind of layout. 1. Override