To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.
I'm wondering what is the best practice for accessing the right session-global data, when using
If i use
I get the data of the false UI. So what is the best way. Should I pass it as and parameter like
final Data myData;
or is there the right way to acces the global data of the otherUi within my Runnable()?I would prefer the second way, but i haven't figured yet how to access the right data.