Home >Java >javaTutorial >Why Doesn't My FirebaseListAdapter Show Individual Chat Messages After Updating to Firebase-UI 3.1?
FirebaseListAdapter Not Pushing Individual Items for Chat App - Firebase-Ui 3.1
Problem:
After updating to Firebase-Ui 3.1, the FirebaseListAdapter fails to display individual messages in a ListView. The issue persists despite conforming the code to the new requirements.
Solution:
To resolve this issue, the FirebaseListAdapter must be initialized properly to listen for database changes. This is done by overriding the onStart() and onStop() methods of the activity using the list adapter:
Additional Notes:
Reference:
The above is the detailed content of Why Doesn't My FirebaseListAdapter Show Individual Chat Messages After Updating to Firebase-UI 3.1?. For more information, please follow other related articles on the PHP Chinese website!