Can I initialize an Array list from data specified in xml resource file?

by Videoguy » Mon, 09 Mar 2009 23:24:10 GMT


Sponsored Links
 Is is possible to specify data in xml resource file and initialize
ArrayList from it?
I am looking for a way to use the ArrayList with a SimpleAdapter to
bind to a ListView.
I am wondering if there is a way to specify my data in xml resource
file and init ArrayList from it.

Videoguy
--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Halt the Target VM, my app becomes unstable

hi

my app contains some native jni library
but if i press the 'Halt the Target VM' in ddms

after  re-launch my app , it becomes easy to crash
and check with addr2line the point of crash is somehow not easy to
understand
sometimes even SIGBUS will be met,
also sometimes failed in pthread_create

according to my test in SimpleJNI
globals(and global pointers) should be re-initialized

or is there some change some of my global pointers still retains
previous context?
or lower libs still keep the previous context of my app??

thanks
--~--~---------~--~----~------------~-------~--~----~

2. Anyone else notice more frequent GC in 1.6?

I am unsure if this is something I am noticing because my app is released or
not, but it seems to me that 1.6 GC's smaller amounts a lot more
frequently.  It seems to make for a lot less stuttering when graphics are
drawn.   (Then again, maybe I changed something in my code).

Curious ... anyone else notice this?

Jason Van Anden
http://www.bubblebeats.com

--~--~---------~--~----~------------~-------~--~----~

3. Eclipse is stuck at "Android SDK Content Loader 60%"

4. HttpURLConnection

5. webview: problem with js file inlude

6. (For V1.6 API) Package installer crashed when overlap install (re-install) some non-system packages with adb.

7. Touch event: Delayed reception from actual touch?