architecture-samples
architecture-samples copied to clipboard
SingleLiveEvent atomic variable not required
Hi,
I have a question regarding the SingleLiveEvent class, internally It uses an atomic boolean, but it is accessed always in the main thread. It is really required an atomic variable?