Suppose we have an Activity with a lot of views on which OnClickListener is to be registered. The most common way to implement this is to let the Activity-Subclass implement the OnClickListener, something like this: The way I like to implement it is to create a private class inside the Activity-Subclass and let that inner class implement the OnClickListener: This