Posts by Sr. Lucifer • 36 points
3 posts
-
0
votes1
answer148
viewsA: Whenever I run the app, it closes itself
Try to improve the structure of your code by making it readable/easy for you and others in the future. From what I’ve seen, you call this function verify() from the click on a certain button? And it…
-
1
votes1
answer58
viewsA: How to always register data in the last generated Event?
I do so: firestoreMetas .collection("metas_compras") .document(metaCompra.id_meta) .set(metaCompra) .addOnSuccessListener { //Sucesso }.addOnFailureListener{ //Erro } Well, basically, I use the id…
-
1
votes1
answer241
viewsA: Using Loop to traverse an array, stopping at the first item and waiting for a click to the next JAVA item
Declares a variable to save the size of your list: private int tamanhoLista = 0; private List<Tarefa> filaTarefa = new ArrayList<>(); //Sua lista //Preenchi para teste filaTarefa.add(new…