FileDocCategorySizeDatePackage
BiDiTestGalleryImages.javaAPI DocAndroid 5.1 API1956Thu Mar 12 22:22:42 GMT 2015com.android.bidi

BiDiTestGalleryImages

public class BiDiTestGalleryImages extends android.widget.BaseAdapter

Fields Summary
int
mGalleryItemBackground
private android.content.Context
mContext
private Integer[]
mImageIds
Constructors Summary
public BiDiTestGalleryImages(android.content.Context c)


       
        mContext = c;
    
Methods Summary
public intgetCount()

        return mImageIds.length;
    
public java.lang.ObjectgetItem(int position)

        return position;
    
public longgetItemId(int position)

        return position;
    
public android.view.ViewgetView(int position, android.view.View convertView, android.view.ViewGroup parent)

        ImageView i = new ImageView(mContext);
        i.setImageResource(mImageIds[position]);
        i.setScaleType(ScaleType.CENTER_INSIDE);
        return i;