Android 拖动图片特效(三)

2014-11-24 11:42:24 来源: 作者: 浏览: 5
ate Resources getResources()
{
// TODO Auto-generated method stub
return null;
}

public int getCount()
{
return mImageIds.length;
}

public Object getItem(int position)
{
return position;
}

public long getItemId(int position)
{
return position;
}

public View getView(int position, View convertView, ViewGroup parent)
{
return mImages[position];
}

public float getScale(boolean focused, int offset)
{
return Math.max(0, 1.0f / (float) Math.pow(2, Math.abs(offset)));
}
}


-->

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容: