title: How to import one class from other build flavour
body: <p>My project structure look like below</p>
  
  <pre><code>+ src
          + main // this is my common code
              + java 
                  - LoginScreen // depending on condition launch screen from flavor1 or flavor2 
              + res
          + flavor1
              + java
              + res
          + flavor2
              + java
              + res
  </code></pre>
  
  <p>I have Login class in <strong>main/src</strong> depending on condition, have to launch the screen from flavor1 or flavor2.</p>
  
  <p>For example:</p>
  
  <pre><code>class LoginScreen{
  ......
  
      if(true){
          // launch ScreenUser from Flavor1 reset of screen flows from falvour1
      }else{
         // launch ScreenOTP from Flavor2 reset of screen flows from falvour2
      }
  }
  </code></pre>
  
  <p>In this case, if I make build for flavor1 it is showing an error for falvor2 class and vice versa.</p>
  
  <p>Both flavors has different applicationId like <strong>applicationIdSuffix ".flavor1"</strong></p>
  
  <p>Is this possible? If not how can I achieve this?</p>