Change in firebase doesn't refresh table - Tables not displaying user nodes from arrays
问题 I am trying to have two arrays, used as dataSources for two tableViews. One array contains user type: macro and the other array contains user type: micro. If a user type is changed from macro to micro (and vice-versa) I want to remove the user from one table and add it to the other. Currently I am able to update the user's tag if changed in Firebase Database and have it appear in the proper array when the app is restarted. The observe function only collects it once and if it is changed, it