APP/개발
06. boostcourse_ android app_ java_listview
풍요 평화 만땅 연구원
2022. 6. 22. 12:29
*순서
1. Drag List View in Main Activity
2. Another Activity for List View & Add UI Elements
3. Create Custom Adapter
4. Set Adapter Data to List View
5. On click Event
1. Drag List View in Main Activity -> Main Activity.xml 에 list view 영역 설정
2. Another Activity for List View & Add UI Elements -> list view에 해당하는 activity(java+layout파일 동시) 추가하여 생성
3. Create Custom Adapter
-> adapter파일 생성(자바파일)
4. Set Adapter Data to List View
-> 데이터 연결(MainActivy.java 에 입력시킨값과 + custom listview.xml파일의 양식과 매칭)