Hi, I’d like a class that I can access from all activities / views, which is initialised once and not need to pass the reference.
I guess I create a new class, but how initialise please?
Hi, I’d like a class that I can access from all activities / views, which is initialised once and not need to pass the reference.
I guess I create a new class, but how initialise please?
Yeah, found a good example of using a singlleton class and instantiating using getInstance