How To Hold Button Reference In Singleton Class Without Memory Leak
I have a singleton 'util' class. This class is doing a lot of operation with UI elements (with some custom button, edittext etc.), so it's quite uncomfortable to pass all of the ui
Solution 1:
or it's a very horrible and hacky solution and there is some nicer
Get rid of the singleton. Then:
Post a Comment for "How To Hold Button Reference In Singleton Class Without Memory Leak"