private void M_OkButton_Click(object sender, EventArgs e) { IntentFactory.StartActivityThatAlreadyExist <MainActivity>(this, (intent) => { intent.PutExtra(IntentFactory.SetIdToCall, m_CallNumber); intent.PutExtra(IntentFactory.SetCallType, Convert.ToInt32(m_CallType)); }); }
void m_ListView_ItemClick(object sender, AdapterView.ItemClickEventArgs e) { var number = m_PhoneNumbersAdapter[e.Position]; // IntentFactory.StartActivityWithNoHistory<PhoneNumberAdditionalSettingsActivity>(this, (intent) => //TODO: use this in future versions IntentFactory.StartActivityThatAlreadyExist <MainActivity>(this, (intent) => { intent.PutExtra(IntentFactory.SetIdToCall, number.Number); intent.PutExtra(IntentFactory.SetCallType, Convert.ToInt32(m_CallType)); }); }
void chooseSkypeUserOKButton_Click(object sender, EventArgs e) { TextView skypeUserTextView = this.FindViewById <TextView>(Resource.Id.ChooseSkypeUserText); string skypeUser = skypeUserTextView.Text; if (string.IsNullOrWhiteSpace(skypeUser)) { return; } IntentFactory.StartActivityThatAlreadyExist <MainActivity>(this, (intent) => { intent.PutExtra(IntentFactory.SetCallType, Convert.ToInt32(SettingsTable.CallTypeEnum.SkypeUser)); intent.PutExtra(IntentFactory.SetIdToCall, skypeUser); }); }
public override void OnBackPressed() { base.OnBackPressed(); IntentFactory.StartActivityThatAlreadyExist <MainActivity>(this); }