FirebaseExtended / angularfire

AngularJS bindings for Firebase
MIT License
2.73k stars 632 forks source link

firebaseArray is not updating view somehow. #918

Closed gmmrx closed 7 years ago

gmmrx commented 7 years ago

Hello. First of all i want to made a plunkr for this but code is so complex and reproducing this may cost a lots of time. But i am gonna attach pictures about this problem.

Problem is: Data is coming perfectly from database, and its assigning the data to array but somehow view is not updating.

1-) I have an array of objects. So i used firebaseArray for this.

This is my first array asdasd

1

problem

2-) I am checking data on Console.Log and its coming, its changing.. $timeout, setTimeout doesnt working..

I am new and this is my first project with Firebase&AngularFire. Maybe i did something wrong, maybe i am doing all wrong but i dont know what.. BTW; this is service not controller, i am not/can not using SCOPE.

jwngr commented 7 years ago

This is a usage question, which is better suited for Stack Overflow or the Firebase Google Group. Can you please re-post on one of those forums and paste the link here? Please also remember to include version information and a code sample (if relevant) to help us resolve your issue.

It would be helpful to see how you are using liveData in your HTML view. The second block of code you included should not be necessary since $firebaseArray handles all of that stuff for you. You should just reference your liveData array variable in your view and that's it.

gmmrx commented 7 years ago

@jwngr - First of all thank you for help. Firebase Google Group doesnt showing my question somehow. On stackoverflow no body tells me anything.. I dont know what i am gonna do with that data.

Its annoying, its just not updating view..