jQuery in Action, 3rd edition
The moose likes Android and the fly likes Question on ListView Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Android
Bookmark "Question on ListView" Watch "Question on ListView" New topic

Question on ListView

Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 10031


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, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!
I agree. Here's the link: http://aspose.com/file-tools
subject: Question on ListView
It's not a secret anymore!