[android-developers] Re: a different list mechanism

2011-02-14 Thread kiros88
Um well I was just curious if there was a different widget or a different android tool On Feb 14, 10:31 am, Mark Murphy mmur...@commonsware.com wrote: What are you expecting to be different about this different list mechanism? On Mon, Feb 14, 2011 at 1:29 PM, kiros88 ghui...@gmail.com wrote:

Re: [android-developers] Re: a different list mechanism

2011-02-14 Thread Kostya Vasilyev
For a small list, where you don't care about item recycling, you can just put a LinearLayout in your layout XML file, and add views to it dynamically from code (probably by using LayoutInflater so that each item's layout can be also defined in XML). -- Kostya 14.02.2011 21:40, kiros88 пишет:

[android-developers] Re: a different list mechanism

2011-02-14 Thread kiros88
no It be a big long list sometimes would this method work for that too I kinda just wanted to confirm if ListView is teh only option for creating lists in Android On Feb 14, 10:49 am, Kostya Vasilyev kmans...@gmail.com wrote: For a small list, where you don't care about item recycling, you can

Re: [android-developers] Re: a different list mechanism

2011-02-14 Thread Kostya Vasilyev
ListView already provides a way to implement long lists that's efficient in terms of both memory usage and processing time. It also connects to classes that make it easy to pull your data from a database. It also implements a way to automatically refresh data if it changes. That's a lot of

[android-developers] Re: a different list mechanism

2011-02-14 Thread Spiral123
With the supplied ListView you can also override a heap of stuff to make it look very different from a 'standard' list. Personally I think I would always start from the default. Some of the guys on the Sony Ericsson developer blog did a nice tutorial around 3d lists: