ha ha, But that way it will again create a new instance of the same class and a new instance of the same onEvent function right?
Coz in Stackoverflow Jason asked me to create a separate instance of the listener rather than using "this"
so I asked on how to do that actually :)
I have a class in android which has a listener setup to get visitorlist updates.
var visitorDetailsCollection = FirebaseFirestore.Instance.Collection("visitorDetails");
var visitorDetailsquery = visitorDetailsCollection.WhereEqualTo("UserID"...
Hi SkyDiver,
I resolved the issue. There was a property
private ObservableCollection<VisitorDetails> details;
public ObservableCollection<VisitorDetails> Details {
get {
return details;
}
set
{...
There is a Dependency class in android that has these two functions
1. public void OnEvent(Java.Lang.Object obj, FirebaseFirestoreException error)
{
try
{
var docs = (QuerySnapshot)obj;
visitorDetails.Clear();
foreach (var doc...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.