This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hello Everyone, | |
Today a small tip from me, an extension of the singleton pattern that I call hidden singleton. | |
We all know the singleton: | |
public static class MySingleton { | |
private static MySingleton mInstance; |