When I’m working on a regional mobile app recently, I start to notice an useful usage of interface when combine with Gradle Build Variants in Android Studio.
interface
Firstly, I put an interface in the main project.