Dinesha KarunathilakeOOP Design Patterns 9— Iterator PatternSuppose we have 2 types of collections (Array and a List) but we need to traverse both the collections in a client.2 min read·Apr 22, 2021----
Dinesha KarunathilakeOOP Design Patterns— Composite PatternWhen there is a hierarchical structure, there are 2 types of components Leaf nodes and Composite nodes. Usually in this type of scenario…1 min read·Apr 22, 2021----
Dinesha KarunathilakeOOP Design Patterns — Template Method PatternThe Template Method Pattern: defines the skeleton of an algorithm in a method, deferring some steps to subclasses. The template method…2 min read·Apr 22, 2021----
Dinesha KarunathilakeOOP Design Patterns — Command PatternDefinition: The command pattern encapsulates a request as an object, thereby letting you parameterize other objects with different…2 min read·Apr 22, 2021----
Dinesha KarunathilakeOOP Design Patterns — IntroductionChange is the inevitable character of anything and software is no exception. The job of a good engineer is to design the systems in a way…1 min read·Apr 22, 2021----
Dinesha KarunathilakeOOP Design Patterns 2 - Observer PatternThe observer pattern defines a one to many dependencies between objects so that when one object changes state all of its dependents are…1 min read·Apr 22, 2021----
Dinesha KarunathilakeOOP Design Patterns — Factory PatternEncapsulate what changes: Object instantiation is something that is more prone to change. When a new type of object need to be added to…2 min read·Nov 28, 2020----
Dinesha KarunathilakeOOP Design Patterns 3— Decorator PatternWhen in a software project, need comes to extend the behavior of the product by adding new functionalities, we could use inheritance by…2 min read·Nov 28, 2020----
Dinesha KarunathilakeOOP Design Patterns — SOLID Design PrinciplesSOLID is an important set of principles in OOP software development and the name is an acronym for the five principles it explains.3 min read·May 29, 2020----
Dinesha KarunathilakeReactive Programming with RxAndroid and KotlinApps nowadays need to meet the requirement of being robust and responsive. RxAndroid and Kotlin tools are equipped to help this process…3 min read·Apr 10, 2020----