I’m currently using cwac-endless adapter for my application. For this one, I don’t know how to integrate setOnItemClickListener in cwac-endless class.
Here is my/his coding and please help me to answer how to integrate setOnItemClickListner.
DemoAdapter(ArrayList<String> list) {
super(new ArrayAdapter<String>(Lists.this,
R.layout.row,
android.R.id.text1,
list));
rotate = new RotateAnimation(0f, 360f, Animation.RELATIVE_TO_SELF,
0.5f, Animation.RELATIVE_TO_SELF,
0.5f);
rotate.setDuration(600);
rotate.setRepeatMode(Animation.RESTART);
rotate.setRepeatCount(Animation.INFINITE);
}
Now I got the answer as adding following coding