There are repetitive tasks in Android development that need very similar boilerplate code in several locations of the codebase. For such cases, it makes sense to create a base class implementing those re-occurring functionalities only once. In this article, we will take a look at two specific topics needed in…