I have a listview , and edittext on top of it. The edittext is searching data from listview. Listview is populated from string-array. The edittext search function is working fine, but onclick is not working. It should go to another activity passing some intents. How can I do that? I am using this method.IS it correct ? How to pass the intents?
editText.setOnClickListener(new OnClickListener() {
@Override
public void onClick(View v) {
}
});
Thanks
If you set the android:focusableInTouchMode property of the EditText view to "false" in the layout xml file, the onClickListener should behave as expected.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With