📅  最后修改于: 2022-03-11 14:56:49.651000             🧑  作者: Mango
// Implement On Item click listener
gridView1.setOnItemClickListener(new OnItemClickListener() {
@Override
public void onItemClick(AdapterView> parent, View view, int position, long id) {
switch (position) {
case 0:
break;
case 1:
break;
}
}
});