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 |
Tags
- 안드로이드
- RealtimeDB
- ROOM
- 팝업액티비티
- ViewModel
- ButtonWithButton
- nav_graph
- 뷰바인딩
- 안드로이드 스튜디오
- ArrayList
- Android
- Imageview
- OutlinedButton
- Dialog
- FRAGMENT
- 밑줄
- Activity
- firebase
- EditText
- MaterialButton
- Kotlin
- lifecyclescope
- button
- 코틀린
- 안드로이드스튜디오
- androidstudio
- BottomSheetDialog
- firebasefunctions
- 랜덤ID
- textview
Archives
- Today
- Total
목록Update (1)
안드로이드 앱 개발
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
2021. 5. 15. 14:39