Problem with casting while going through tutorial - Phoneword on Android using Xamarin in VS

My problem occurs in methods which try to obtain views' IDs - in main activity. Error displays such message: cannot convert from 'object' to 'int';
These are the methods : EditText phoneNumberText = FindViewById<EditText>(Resource.Id.PhoneNumberText); Button translateButton = FindViewById<Button>(Resource.Id.TranslateButton); Button callButton = FindViewById<Button>(Resource.Id.CallButton)
How can I solve it. Thank you for your time.

Sign In or Register to comment.