How to Click on the each individual position using base adapter

后端 未结 5 1724
我在风中等你
我在风中等你 2020-12-12 07:23

I am using the base adapter , i have list which contains list with the text view (means left side sent items and below to that ,right side received items, i want to click o

5条回答
  •  无人及你
    2020-12-12 08:06

    Implement click listener for both when you initialize that view

    viewHolder.sms_from_row.setOnClickListener(new OnClickListener(){
        public void onClick(View view){
            // Todo thing
        }
    });
    viewHolder.sms_to_row.setOnClickListener(new OnClickListener(){
        public void onClick(View view){
            // Todo thing
        }
    });
    

提交回复
热议问题