Android Android Lists and Adapters Connecting the Data Cleaning Up the Data

Nathan Partridge
Nathan Partridge
52,420 Points

Where is app:imageResource documented?

I have been digging for information on the imageResource on the documentation site, and have not found anything that has this attribute. The XML attribute section for ImageView and its parent class View do not list imageResuource, and searching for imageResource, or app:imageResource have come up empty.

Where is this attribute defined? What other attributes are available? Any suggestions on how to locate this information.

1 Answer

Jonathan Grieve
Jonathan Grieve
Treehouse Moderator 85,472 Points

I agree that's a tricky one. I've been trying to find the information myself and it's frustrating because Google is letting me down too.

Now I'm afraid I don't have much of a direct response for you as I've yet to begin this course and in preparation for the course refresh I started completely over and deleted my notes but the closest thing I could find to what you're looking for is this link on StackOverflow.

Which talks about the setImageResource method. Here's the documentation for it.

I'll be intrigued to see how you get passed this issue.