App Crashing Whenever I Open A Specific Screen

I Made A Chat Application With Firebase. Whenever I Open the Main Chatting Screen from Other Screen it Crashes. Please Help. How do I fix It?
Please Help I Have a Deadline Today.

Show your relevant blocks.

Here, Sorry for Being Late

On which screen opening app is closing ?

This Screen

First of all when opening a new screen you should always close the one that you are using because otherwise you will have memory issues


Also I see that you are using a clock . Do you disable it somewhere ?

no actually i want it to continuously load new messages.

Ohh Now I see

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.