Monthly Archives

September 2016


UNIVERSAL PREFERENCES: How to remove Shared Preferences boilerplate?

UniversalPreferences is simple Android library that allows you to use Shared Preferences in an easy way. This library allows you to easily to store and retrive values from SharedPreferences without creating lots of boilerplate. Usage Add to your module’s…

Software Engineering

Factory Method pattern

Introduction The Factory Method pattern is one the most used design patterns. It is creational type of design pattern, so it is one of the best ways to create objects in any programming language. We will implement this pattern…


How and when to use Facade Design Pattern?

  Introduction Facades are all around us in the real world. Light switch is one example – you can turn of or turn on lights, but you do not know what happens behind the walls, when you press that…