Is it possible to know the previous state of the c...
# compose
h
Is it possible to know the previous state of the composable without making it stateful.? My use case. As in the above video when going from 1 -> 2 there is a different animation than when going from 2 -> 1. So, I have made different states for these 2 cases, but I need to know the previous state (quantity) to decide the next state, it depends on whether user inc or dec the quantity. How can I achieve this use case?