This is a gridview that get image from json. and it works fine. I want to click image in this gridview to show full image and can slide it. I find the solution of this probl
its same as you need. just click event of grid view and get image in next screen using view pager.
Click event of grid view images:
GridView gridView = (GridView) findViewById(R.id.gridview);
gridView.setAdapter(new ImageAdapter());
gridView.setOnItemClickListener(new OnItemClickListener() {
@Override
public void onItemClick(AdapterView> parent, View view,
int position, long id)
{
HashMap selected = (HashMap)
gridView.getItemAtPosition(position);
}
});