I have a class:
public class dialogs extends Activity implements TextWatcher { ... }
Trying to remove an item from the listView list by a long press on it. To do this, as far as I understand it is necessary to add the line implements AdapterView.OnItemLongClickListener to the class definition. As a result, it turns out like this:
public class dialogs extends Activity implements TextWatcher implements AdapterView.OnItemLongClickListener{ ... }
But almost after that, the whole class is full of errors. What am I doing wrong?