GridView方法点击事件不响应
gv.setOnItemClickListener(new AdapterView.OnItemClickListener() {
@Override
public void onItemClick(AdapterView<?> adapterView, View view, int i, long l) {
Toast.makeText(MainActivity.this, "123", Toast.LENGTH_SHORT).show();
}
相关分类