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 useful stuff, and it's already there for you to use.

Any particular reason you're having doubts about using ListView?

-- Kostya

14.02.2011 21:53, 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
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 пишет:

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:
Hi I was curious if anyone knew of a different list mechanism other
then listview? that would list an array of strings for the user
--
Mark Murphy (a Commons 
Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
Android Training...At Your Office:http://commonsware.com/training
--
Kostya Vasilyev --http://kmansoft.wordpress.com


--
Kostya Vasilyev -- http://kmansoft.wordpress.com

--
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

Reply via email to