title: Call an Activity method from Fragment
body: <p>I'm using <code>ToDoActiviy.cs</code> for user login, this class got this method:</p>
  
  <pre><code>[Java.Interop.Export()]
  </code></pre>
  
  <p><code>public async void LoginUser(View view)
  {
    if(await authenticate())..</code></p>
  
  <p>This method is called from .axml file from Button widget      <code>android:onClick="LoginUser"</code>      I changed this for <code>android:onClick="LoginUserClick"</code>       This last method create a dialog fragment for show different logins accounts. </p>
  
  <p>Now from the Dialog Fragment(Is situated on another class) I want to hand the event for the button click on the dialog fragment and call this method from         <code>ToDoActivity.cs</code>.</p>
  
  <p>On dialog fragment class I hand the click event like this: </p>
  
  <pre><code>private void ButtonSignInFacebook_Click(object sender, EventArgs args){
  </code></pre>
  
  <p><code>//Here code for call to LoginUser method from 'ToDoActivity.cs'
  ToDoActiviy.cs act = new ToDoActivity();
  act.LoginUser();
  }</code></p>
  
  <p>I need to pass a View but I tried a lot of things and any works..</p>
  
  <p>Someone can help me?</p>
  
  <p>Thanks in advance ;)</p>