Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |
Tags
- Android
- ButtonWithButton
- ArrayList
- Kotlin
- lifecyclescope
- Dialog
- 팝업액티비티
- firebase
- textview
- button
- MaterialButton
- Imageview
- 안드로이드 스튜디오
- FRAGMENT
- EditText
- 코틀린
- ViewModel
- 안드로이드
- 뷰바인딩
- 안드로이드스튜디오
- OutlinedButton
- firebasefunctions
- Activity
- 랜덤ID
- ROOM
- androidstudio
- 밑줄
- nav_graph
- RealtimeDB
- BottomSheetDialog
Archives
- Today
- Total
GA4 교육
DB의 child의 세부 항목 UPDATE하기 본문
database.child("users").child(uid).child("customers").child(customerKeyValue)
.child("customerMemo").setValue(binding.memoEt.text.toString().trim()).addOnSuccessListener {
mShowShortToast("성공")
}.addOnFailureListener {
mShowShortToast("실패")
}
* 가끔 boolean 타입이나 int 타입은 firebase rdb에 수정이 안 되는 경우가 있다. (사실 거의 대부분)
그럴 때는 .toString으로 보내주자
'Firebase > Realtime DB' 카테고리의 다른 글
Realtime DB 규칙 - auth != null && auth == $uid 일 때 (0) | 2021.07.04 |
---|