Could you please share a gist of the implementation you're suggesting?
I have used extension functions as well as a possible method but didn't go ahead with it as it was identical to the Method #1 suggested above and had all the cons listed in the article.
I'm a software engineer who likes to develop android apps. I also like to build backend services using Spring Boot.
Love podcasts or audiobooks? Learn on the go with our new app.