06. boostcourse_ android app_ java_listview
2022. 6. 22. 12:29ㆍAPP/개발
*순서
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파일의 양식과 매칭)
'APP > 개발' 카테고리의 다른 글
08. boostcourse_ android app_ java_intent/flag (0) | 2022.07.02 |
---|---|
07. boostcourse_ android app_ java_recyclerview (0) | 2022.06.23 |
04. boostcourse_ android app_ java_인플레이션 (0) | 2022.06.17 |
03. boostcourse_ android app_ java_eventlistener / edittext / toast (0) | 2022.06.17 |
02. boostcourse_ android app_ java_상태+쉐이프 drawable (0) | 2022.06.14 |