Welcome to the Treehouse Community
Looking to learn something new?
Ricky Sparks22,249 Points
What is this code challenge asking for?
In this challenge you want to download and view an image from the web using Picasso. Start by declaring an ImageView named userImageView and set it using findViewById(). The code below runs inside an Activity, and you can use R.id.userImageView as the ID.
// This code is excerpted from an Activity ImageView userImageView = new ImageView(findViewById());
In this case you are not declaring an image view you are assigning the Image view named userImageView to an ImageView which is already in your resources with and ID of userImageView. Below is what the quiz is looking for.
ImageView userImageView = findViewById(R.id.userImageView);