I am building android app using kotlin with firebase firestore. I discovered that anytime I fetch data to display on the homepage fragment, the data do not appear unless I rotate the screen of my device. I have tried to use the saveInstanceState but all to no avail. Please what can I do?
I tried to use the saveInstanceState but to no avail. I expect that once a user logs in to the app, the user should see the recyclerview items on the home page without having to rotate the screen first.
Louis is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.