Posts by Rafael Said • 49 points
5 posts
-
-1
votes2
answers414
viewsA: Store a dictionary in a Python file
Try to add the encode(encoding='UTF-8') to the line arq = open('novoGuarda.txt', 'w'), being like this: arq = open('novoGuarda.txt', 'w').encode(encoding='UTF-8')…
-
0
votes1
answer36
viewsA: Recover snapshot inside a node
Try instead of DatabaseReference usuariosRef = firebaseRef.child("usuarios"); add .getReference(). getReference() gets the root node of the database. More information here. So it would be…
-
1
votes1
answer62
viewsA: List returning null values
Look at Luis Felipe, it shows as null the following fields id, idPostagem, description and photoUsuario, because in the structure of Firebase they are with different names. When you try to fetch the…
-
1
votes2
answers1479
viewsA: How to delete a specific Child in Firebase?
I got it with the following code: Query queryRemoverCalendario = mCalendarioDatabaseReference.limitToFirst(1); queryRemoverCalendario.addListenerForSingleValueEvent(new ValueEventListener() {…
-
0
votes2
answers1479
viewsQ: How to delete a specific Child in Firebase?
I want to delete only 1st Child (L7jrj6dtqwrmzsc4zvt) from Firebase through an option in an Android app. I searched several places and could not find. I only found the option to delete the whole…