How do I program to click and hold down a method other than just a normal click in the ListView?
I would like tips, tutorials something that can help me.
@Override
public void onItemClick(AdapterView<?> parent, View view, int position, long id) {
Intent intent = new Intent(getActivity().getBaseContext(), inalcancaveis_tela.class);
startActivity(intent);
}
I call this method in onCreateView
list.setOnItemClickListener(this);
OBS: to using extends Fragment