Android Internals - Part 2
Activity Lifecycle
Context is nothing but an instance of class. It acts as a bridge between your application and Andriod OS. It allows access to application specific resources. Resources refers to non-code things that your app needs. Pictures , vector graphics or local...
Singleton classes can only be initiated once. The Singleton pattern ensures the class has only one instance and provides global point of access to it. Singleton is an anti-pattern and should be avoided in javascript. Note- In other programming langua...
Iterator object is an object that obeys the Iterator Protocol. Iterator Protocol : A Standard way of producing a sequence of values. These values can be finite or infinite. An iterator object implements the next method with the following rules: next-...