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

c++ - C/pp Sockets, recv()/send() works only under gdb -

GO: Serve static pages -

objective c - How to open front/back camera at the same time in iOS developing? -