I want to know whether it's ok to do or I should not do. For example I created class like this:
class Utils {
static String uid;
}
And get the user's uniqueId when user logged in and set it like so:
Utils.uid = uniqueId;
After that, just pass around.
Let's say I have there tabs and starts with first tab which get uid here and when go to second tab, use uid for something.
Is it something I should not do or is it ok?
Any help is appreciated!