'Gradle Variant : import
I'm trying to use gradle variant, to have multiple apk. I have a class "Config", but this class will be different for each project. In the MainActivity, I want to import this Config class. How can I do to choose the right class ?
- ch.mycompany.main
- MainActivitiy
- ch.mycompany.projectA
- Config
- ch.mycompany.projectB
- Config
(ProjectA, ProjectB and Main are in the same Android module.)
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
