TODO
1. Reference counting in iOS vs Garbage Collection in Android
2.
1. Reference counting in iOS vs Garbage Collection in Android
2.
syncronized key word, (monitor lock)
singleton
volatile keyword
singleton with param
- getInstance(Context context)
- getInstance(null)
ENUM
unloading of class: why in android code, you shouldn't rely on static class variables.
https://docs.oracle.com/javase/specs/jls/se8/html/jls-12.html#jls-12.7
unloading of class: why in android code, you shouldn't rely on static class variables.
https://docs.oracle.com/javase/specs/jls/se8/html/jls-12.html#jls-12.7