안녕하세요~안드로이드를 배우기 시작했는데요.ArrayList화면이 떴을때어떤 한 List를 클릭하면이벤트가 발생할수 있도록구현할수 있나요? 외국 사이트 뒤져보니까 ArrayList에는 OnClickListener를 넣을 수 없다고 하는데어떤 방법이 없을까요?ㅠ 도움 부탁드립니다~
Callback method to be invoked when an item in this AdapterView has been clicked.
Implementers can call getItemAtPosition(position) if they need to access the data associated with the selected item.
아아, 감사합니다~
로그인 유지
public abstract void onItemClick (AdapterView<?> parent, View view, int position, long id)
Callback method to be invoked when an item in this AdapterView has been clicked.
Implementers can call getItemAtPosition(position) if they need to access the data associated with the selected item.
Parameters