-
Notifications
You must be signed in to change notification settings - Fork 218
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Apply click listener on each view #9
Comments
Hi, 2014-12-09 13:50 GMT+01:00 deepakcipl [email protected]:
|
Sorry.. Not able to do that.. :( onItemClickListener is undefined for image view. You can check my adapter class as follows:- package app.myspot.adapter; import java.util.List; public class SampleImageAdapter extends BaseAdapter {
// Log.e("size:--", ""+mActorName.size());
} and set adapter in my activity class as follows:- adapter=new SampleImageAdapter(MainActivity.this,mBeans); Please help me to sort out this problem. |
It is on cover flow. 2014-12-09 14:06 GMT+01:00 deepakcipl [email protected]:
|
Okay.. If I apply setOnItemClickListener on coverflow so in my opinion the listener should work on whole view but as per above snap which I have posted ,I just only want to apply listener on favorite icon image. So how can I achieve that? |
Item click listener gives you view which was clicked. You can ignore all 2014-12-09 14:26 GMT+01:00 deepakcipl [email protected]:
|
How Can I achieve that? Can you please provide me a small code to achieve that ? |
I dont have time to teach you how Android works. This listener can be found 2014-12-09 15:09 GMT+01:00 deepakcipl [email protected]:
|
Can you briefly explain how we can add click listener to every view in listview???? i have spend two days to clear this issue but no luck. |
Hi .. I have an issue regarding the library. I have a favorite icon on each frame as an Image view and I want to make it favorite or remove favorite by click on it. I am unable to apply the click listener on that particular view. How can I achieve that ? Please help..
The text was updated successfully, but these errors were encountered: