File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Android and the fly likes Question on ListView Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Mobile » Android
Reply Bookmark "Question on ListView" Watch "Question on ListView" New topic
Author

Question on ListView

Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 8457

Guys,

Why is this difference in the ListView and TextView. For example, to get a reference to the TextView in my Activity class, I use the findViewById method and pass in the name of the TextView that I have given in my layout xml. But the id for a ListView looks completely difference and also to obtain a ListView in my Activity, I use something like android.R.id.list instead of mentioning the layout xml file?


SCJP 1.4, SCWCD 1.4 - Hints for you, SCBCD Hints - Demnachst, SCDJWS - Auch Demnachst
Did a rm -R / to find out that I lost my entire Linux installation!
 
 
subject: Question on ListView
 
Threads others viewed
retrieve value from edittext from ListView
How to show a title to a ListView
list view problem
listview with soft keypad problem
Floating view below ListView
developer file tools

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture