I'm trying to build a signup screen with compose m...
# compose
i
I'm trying to build a signup screen with compose multiplatform. The first screen is a landing page and then signup flow slides in from the right. If the user presses the back button, they exit from the right. I have two questions. Is it possible to create a koin viewmodel that's only scoped for the lifetime of the signup flow and once the user abandons it, the viewmodel doesn't exist. And the second question, if I'm showing screen B, it comes in from the right, but screen A does its exit animation too. I only want screen A to 'exit' if the user actually removes it from the backstack. Not if a new screen is just showing. Is this possible with compose navigation?