protected class PicturePagerActivity.ImageAdapter
extends <any>
Modifier and Type | Class and Description |
---|---|
class |
PicturePagerActivity.ImageAdapter.ViewHolder |
Modifier | Constructor and Description |
---|---|
protected |
ImageAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
addData(java.util.ArrayList<PicturePagerActivity.ImageInfo> newImages,
boolean direction) |
int |
getIndexByMessageId(int messageId) |
PicturePagerActivity.ImageInfo |
getItem(int index) |
int |
getItemCount() |
void |
onBindViewHolder(PicturePagerActivity.ImageAdapter.ViewHolder holder,
int position) |
PicturePagerActivity.ImageAdapter.ViewHolder |
onCreateViewHolder(android.view.ViewGroup parent,
int viewType) |
android.graphics.Bitmap |
zoomImg(android.graphics.Bitmap bm,
int newWidth,
int newHeight) |
public PicturePagerActivity.ImageAdapter.ViewHolder onCreateViewHolder(android.view.ViewGroup parent, int viewType)
public void onBindViewHolder(PicturePagerActivity.ImageAdapter.ViewHolder holder, int position)
public int getItemCount()
public android.graphics.Bitmap zoomImg(android.graphics.Bitmap bm, int newWidth, int newHeight)
public void addData(java.util.ArrayList<PicturePagerActivity.ImageInfo> newImages, boolean direction)
public PicturePagerActivity.ImageInfo getItem(int index)
public int getIndexByMessageId(int messageId)