title: Google/Facebook Sign In in MVVM
body: <p>I'm using MVVM structure with Data Binding in my project. Things get weird when it comes to GG/FB Sign In, because they need <code>Context</code></p>
  
  <pre><code>googleApiClient = new GoogleApiClient.Builder(context)
              .enableAutoManage(this, this)
              .addApi(Auth.GOOGLE_SIGN_IN_API, gso)
              .build();
  Intent signInIntent = Auth.GoogleSignInApi.getSignInIntent(googleApiClient);
  startActivityForResult(signInIntent, GOOGLE_AUTH);
  </code></pre>
  
  <p><code>GoogleApiClient</code> needs <code>Context</code> so I can't pass it to ViewModel, which receives DataBinding events.</p>
  
  <pre><code>class LoginViewModel(
      dataManager: DataManager,
      schedulerProvider: SchedulerProvider
  ) : BaseViewModel&lt;LoginNavigator&gt;(dataManager, schedulerProvider) {
  
      fun loginGoogle(){
          setIsLoading(true)
          //No idea what to write in here
      }
  }
  </code></pre>
  
  <p>Is there any way to use Gg/FB Sign In with MVVM structure ? Or I just have to do the original way (do everything in <code>Activity</code>) ?</p>