//声明ImageAdapter
public BestGalleryAdapter(Context c){
mContext = c;
}
public int getCount() {
// TODO Auto-generated method stub
return Integer.MAX_VALUE;
}
public Object getItem(int position) {
// TODO Auto-generated method stub
return mImageIds[position];
}
public long getItemId(int position) {
// TODO Auto-generated method stub
return position;
}