mOnColorChangeListener; public static interface OnColorChangeListener { public void onColorChanged(String color); } public void setOnColorChangedListener(OnColorChangeListener listener){ this.mColorChangedListener = listener; } • Define an Interface. • Create an instance in the View class. • Call the method when the event occurs. Touch, Click or Focus. • Implement and set the listener in any class. • Check the code for more detail implementation.