팀 프로젝트 ( I )
Firestore DataBase사용을 처음부터 공부해서 완료했다.
100퍼로 맘에 들게 만들지는 못했지만 데이터를 firestore에 저장하고 불러오는 것까지는 완료했다.
recyclerView의 adapter만드는 부분이 아직도 이해를 못했다.
팀프로젝트 끝나고 꼭 집고 넘어가야함
배운내용 / 자료
Firebase - Firestore Database 사용
1) Firebase 앱 등록 / gradle 앱 등록 / implementation 방식은 생략 더보기 //firebase implementation("com.google.firebase:firebase-auth-ktx") implementation("com.google.firebase:firebase-firestore-ktx") implementation(platform("com.google.fireb
rlawog.tistory.com
Android - 방명록 작성 (Firestore Database)
2) 해당 item layout 설정 3) Firestore 필드 이름과 같이 recyclerView Item 생성 //ItemLayout.kt class ItemLayout(val name: String, val comment:String) 4) adapter 생성 //ArticleAdapter.kt class ArticleAdapter(private val itemList: ArrayList) :
rlawog.tistory.com
'Kotlin > TIL' 카테고리의 다른 글
TIL (03.05) (0) | 2024.03.05 |
---|---|
TIL (03.04) (1) | 2024.03.04 |
TIL (02.28) (0) | 2024.02.28 |
TIL (02.27) (1) | 2024.02.27 |
TIL (02.26) (0) | 2024.02.26 |