Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
listView.setOnItemLongClickListener(new AdapterView.OnItemLongClickListener() {
@Override
public boolean onItemLongClick(AdapterView<?> parent, View view, int position, long id) {
toggleCheckboxesAndToolbar();
return true;
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment