L is for the Liskov Substitution Principle

The 3rd article in a series on SOLID principles and how they apply to Android/Java development. The 3rd principle states that “if S is a subtype of T, then objects of type T may be replaced with objects of type S without altering any of the desirable properties of that program”. The post includes code samples too.


O is for Open/Closed Principle – SOLID #2: Principles for Android Developers, a series by Donn Felker

Learning the SOLID principles is always hard. This is a great opportunity to learn the Open/Closed principle. Not only for Android developers.