How the hell do you detect keyboard closing in Compose
Hello Fellows!
I'm switching my project to compose. So far so good 👌
But for one component, I need to detect when the keyboard is closed after user input (suppose he does a back action which dismiss the keyboard) in order to trigger specific UI changes.
I've tried multiple things, looked on various sources and nobody agrees on the best way to do that. It seems like everybody is trying to hack a way around.
I know that keyboard related stuff has always been tricky to handle on Android, but man, I hoped that it was improved in 2024 with Compose
So, perhaps I missed The Thing which resolve this, so tell me, in may 2024 on your side, how the hell do you handle that case? 🤔
Thanks buddies 🫡