Denis11/21/2020, 1:32 AM
? I want to make a list with multiple selection like in the GMail app. On back button press navigation-compose goes to the previous destination, but I want it to unselect all selected items. I did it with a boolean optional argument
, but I think it really smells. I suppose it's better to override the default behavior of back button, but I just can't find a solution. Or is there a better approach to the problem?
Ian Lake11/21/2020, 1:43 AM
Denis11/21/2020, 2:24 AM
that works perfectly for me. Vinay, thank you for it!
Vinay Gaba11/21/2020, 2:33 AM