Hello-
Here's the code I'm connecting to a ListView with:
String[] Strings = String.split(",", 100);
KKList = (ListView) findViewById(R.id.theList);
KKList.setAdapter(new ArrayAdapter<String>(this,
android.R.layout.simple_list_item_1, Strings));
How do I go about creating a kind of onClickListener for the List
View, that will record the selected Item in the List?
Preferably, it is possible without making another activity?
thanks,
SQLserver
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---