Jetpack Compose CRUD application views don’t refresh
I’m new to Android Compose. I’m generally teaching my daughter how to code and we decided to start with something that has an UI,so we chose Android to start. I made an app in Jetpack Compose and I have an error that I don’t understand. Everything works as expected, but after the application goes into the background, it stops working properly. The application is simple – a simple CRUD on a database. The problem arises when I switch to another application and return to it after a while when I use other apps. Then the operations of creating an entry and editing it do not work, and the list does not refresh. I tried to keep the common standards I use every day, like dependency injections, common layout, etc. Perhaps my habits from .NET programming or React are implemented differently in Compose.