Created
April 1, 2017 09:03
-
-
Save dsibinski/c5e4309e60888a66284df0dede98d877 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private void ListView_ItemClick(object sender, AdapterView.ItemClickEventArgs e) | |
{ | |
var person = _peopleList[e.Position]; | |
var uri = Android.Net.Uri.Parse("tel:" + person.PhoneNumber); | |
var intent = new Intent(Intent.ActionDial, uri); | |
StartActivity(intent); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment