sadly this is known anti-pattern don't use it because you will couple all of your activities/ fragments .... instead use extension functions on them and use them whenever you really need them ... or make interface/abstract class with default implementation and implement them when ever you really know you are need them