Skip to main content

All Questions

Tagged with
0 votes
0 answers
19 views

The invalidate function[inside onChildAdded firebase's callback] doesn't invoke onDraw

Have a good day. Actually, I have faced an issue, in which, the onDraw function is not being executed when onChildAdded is being invoking inside onChildAdded callback for firebase. ...
TesterQA___2000's user avatar
0 votes
1 answer
48 views

Create callback Class

Hey I am using firebase callback that call PhoneAuthProvider what I want to do is to wrap this callback in class and create an instance of this class in multiple Classes instead of writing this ...
N MZ's user avatar
  • 121
0 votes
0 answers
76 views

Android Java - Pass Class and Callback as parameter and instantiate object inside function

I need your help in understanding the best way of doing this. Given the sample code below, I need to know how to pass a Class and a Callback via parameter and use them internally to instantiate an ...
Ilian Felinto's user avatar
0 votes
1 answer
250 views

android callback with firestore not working [duplicate]

i'm trying to get data from firestore and i want to get data before executing the rest of the code so i used callbacks at first i created a class DbManger with a static methode and an interface public ...
Aymen Mellah's user avatar
0 votes
1 answer
50 views

Using Firestore callback in another fragment

I'm trying to seperate my code into MVC-like pieces. I have a Fragment where I want to display the user name fetched from Firestore. Also I have a class (HomeController) where I put the logic. In this ...
d_vain's user avatar
  • 25
0 votes
0 answers
45 views

Callback Problems with Firebase and Android

I have a problem when I am fetching my Data from Firebase Firestore. I want to get multiple Documents out of my "Posts" collection and that works fine. But to get my user documents out of my "Users" ...
HSchlong's user avatar
0 votes
1 answer
131 views

Uploading two files on firebase in callback but unable to getDownloadUrl of both files

I'm uploading two files from an array on Firebase storage and want to get getDownloadUrl of both files but it returns only first element's uri. In this code mThumbUri is always empty. public class ...
Muhammad Hamza's user avatar
0 votes
0 answers
69 views

Index out of bounds on a callback

Simplified question to my problem: My new - more informed - issue is that my openGames.get(position) is returning null So here is my callback: public interface WagerCallback { void onCallback(...
brent's user avatar
  • 131
0 votes
1 answer
271 views

Retrieving data through Callback

I am trying to retrieve the custom username the user on my app sets for themselves from my Firebase Database. I have some code in place that is functioning properly, but I do not know exactly what to ...
brent's user avatar
  • 131
1 vote
0 answers
76 views

How do I configure Persona.ly Callbacks?

Could you comment an example of some callback code for Persona.ly? Their documentation is hard to understand! I'm not sure how to add callbacks natively for both these platforms (I don't want to use a ...
Ethan S.'s user avatar
0 votes
1 answer
224 views

Firebase callbacks work during testing but not during runtime

I'm using Firebase in an Android app. The app sets up something like a groupchat and allows users to join. The users get a key and can then connect themselves to the corresponding DatabaseReference. ...
lhk's user avatar
  • 29.3k
1 vote
2 answers
922 views

Waiting for multiple Callbacks to occur before proceeding

I am adding data to a map by using a loop which has a callback inside it. I am then passing this map to a Recycler View, but when I do this - the map is empty so nothing is shown. I assume it is ...
PSLDev's user avatar
  • 77
1 vote
1 answer
606 views

How to wait for (Firebase) callbacks in AWS lambda?

I was looking for some similar questions but as far as I know none of them are Java related. I want to call a AWS lambda function within which I am connecting to a Firebase database. The problem is ...
Jason Saruulo's user avatar