I am trying to write an application which takes items from a database and populates rows within a ListView. I can\'t click on the items after tapping on the rows and the dpa
I usually put the click listener in the adapter itself:
@Override
public View getView(int position, View convertView, ViewGroup parent) {
OnClickListener yourClickListener = new OnClickListener() {
public void onClick(View v) {
//put your desired action here
v.callOnClick();
}
};
...
// then add the listener to your view
tweetView.setOnClickListener(yourClickListener);