Listing 27.7 imageView


#1

What is the go with Listing 27.7 of which I have an extract

        if(isVisible())
	        {imageView.setImageBitmap(thumbnail);} 

This code sets a bitmap image onto an Image view
but how does the image view get set onto the Grid view? :question:

I really expected to see some code similar to this

        if(isVisible())
	     {
        imageView.setImageBitmap(thumbnail);
        gridView.setItem(imageView);
        } 

But the code works without having to set an image view onto the grid view, WHY? :question: