How do I program to click and hold down a method other than just a normal click?
I would like tips, tutorials something that can help me.
I'm having a new problem I need to use the OnItemClick method and the onItemLongClick method already implemented the onItemClick and I'm in doubt how to implement the
@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