java - I get an error when I try to finish an arguement in Android Studio -


When I try to debug an app then gives me an error while describing the expression of the candidates

Click on the public ( view) {contact contact = new contact (dbHandler.getContactsCount (), String.valueOf (nameTxt.getText ()), String.valueOf (phoneTxt.getText ()), String.valueOf (EmailTxt.getText ()), String.valueOf (addressTxt.getText ()),);

There is a comma at the end of your line:

 < Code> New Contact (........., String.valueOf (addressTxt.getText ()),); ^  

You have to remove it


Comments

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

java - Gradle dependencies: compile project by relative path -

ruby on rails - Object doesn't support #inspect when used with .include -