Hi, The sample code of hello-gridview implements an image adapter to populate the gridview with a series of customized imageviews. the getview method in image adapter is implemented to customize image views. I am wondering how this method is utilized to populate the gridview. It looks like that the population is based on the integer array in the image adapter. If there are two integer arrays what will happen? Could you pleas talk about the detail steps for the gridview population process?
One more question is about the getitem(position) method in the image adapter. this method is supposed to return the corresponding data item of the imageadapter. It returns null in the sample code.How could we implement the getitem(position) method to return a specific customized child imageview of the gridview?
Many thanks,
Song