Andriod Basics - Context, Resources and QualifiersContext 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...Jul 4, 2024·1 min read
Design Patterns - SingletonSingleton 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...Apr 2, 2024·3 min read
IteratorsIterator 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-...Oct 8, 2023·2 min read