Search results for query: *

  1. VivekScorp

    Question How to have multiple Firebase AddSnapshotListener(s) inside a single class?

    Cant thank you enough man, implemented this and it works like a charm (y)
  2. VivekScorp

    Question How to have multiple Firebase AddSnapshotListener(s) inside a single class?

    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 :)
  3. VivekScorp

    Question How to have multiple Firebase AddSnapshotListener(s) inside a single class?

    but how to create a new/different instance?
  4. VivekScorp

    Question How to have multiple Firebase AddSnapshotListener(s) inside a single class?

    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"...
  5. VivekScorp

    ObservableCollection count resets to 0 from second function call

    Enabling notification on Collectionchanged event really helped. Thanks
  6. VivekScorp

    ObservableCollection count resets to 0 from second function call

    Hi SkyDiver, I resolved the issue. There was a property private ObservableCollection<VisitorDetails> details; public ObservableCollection<VisitorDetails> Details { get { return details; } set {...
  7. VivekScorp

    ObservableCollection count resets to 0 from second function call

    onevent - 4-f8023eb6-f8c9-41d5-a01c-6c65959b86db ObjectID in PCL - f8023eb6-f8c9-41d5-a01c-6c65959b86db return - 4-f8023eb6-f8c9-41d5-a01c-6c65959b86db onevent - 4-f8023eb6-f8c9-41d5-a01c-6c65959b86db ObjectID in PCL - f8023eb6-f8c9-41d5-a01c-6c65959b86db return -...
  8. VivekScorp

    ObservableCollection count resets to 0 from second function call

    onevent - 4-00000000-0000-0000-0000-000000000000 ObjectID in PCL - 00000000-0000-0000-0000-000000000000 ObjectID in PCL - 00000000-0000-0000-0000-000000000000 return - 0-00000000-0000-0000-0000-000000000000 [chatty] uid=10154(com.vivekscorp.aucms) identical 2 lines return -...
  9. VivekScorp

    ObservableCollection count resets to 0 from second function call

    Tried and set it as static, again same thing happens
  10. VivekScorp

    ObservableCollection count resets to 0 from second function call

    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...
Back
Top Bottom