oday
11/28/2022, 2:38 PMonly
if its the first time that this composable is being shown
if I set isFirstTime
as a Boolean, and I then change the label (which is remembered) then recomposition happens and isFirstTime is initialized again as false and then it repeats and i fall into the isFirstTime == false
condition again
if I set isFirstTime
to remember, then changing it to true
after the first time has happened, this will also trigger recomposition and then it automatically falls into the isFirstTime
is true in the same recomposition that just happenedoday
11/28/2022, 3:00 PMAbdul Hafeez Sajid
11/29/2022, 2:54 PModay
11/29/2022, 2:54 PM