You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 6, 2024. It is now read-only.
When adding a listener for an event on Firebase I assume a communication with Firebase actually happens behind the scenes.
Therefore, ideally, the event attaching operation should be made on backround thread - right?
For example by calling the operation inside the Task.Run method - in code something like the code presented below.
Is that the case or this is not really required since it's handled by Xamarin.Firebase?
Task.Run(()=>{
FirebaseStatusDatabaseReference =
MyFirebaseClient.Instance.GetReference("MyCollectionName").Child("MyKey").Child("Status");
FirebaseStatusChangeEventListener = new MyFirebasetStatusChangeListener();
FirebaseStatusDatabaseReference.AddValueEventListener(FirebaseStatusChangeEventListener);
});
Thanks very much.
The text was updated successfully, but these errors were encountered:
Hello,
Not an issue, a question actually.
When adding a listener for an event on Firebase I assume a communication with Firebase actually happens behind the scenes.
Therefore, ideally, the event attaching operation should be made on backround thread - right?
For example by calling the operation inside the Task.Run method - in code something like the code presented below.
Is that the case or this is not really required since it's handled by Xamarin.Firebase?
Thanks very much.
The text was updated successfully, but these errors were encountered: