bulletnoid / StaggeredGridView

A sweeter StaggeredGridView
139 stars 53 forks source link

how to enable onItemClickListener ? #2

Closed mustafaerturk closed 11 years ago

bulletnoid commented 11 years ago

Just ike ListView: stgv.setOnItemClickListener(new StaggeredGridView.OnItemClickListener() { @Override public void onItemClick(StaggeredGridView parent, View view, int position, long id) { } }); But I dont recomend this, this might elicit bugs. To set OnClickListener to the child view in the getView() method of the adapter instead. I did it in the demo.

mustafaerturk commented 11 years ago

Okey I figure out my problem thanks your advise and quick reply again :)