Skip to content
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

Cannot set onItemclicklistener for row #1

Open
trietbui85 opened this issue Jan 27, 2012 · 6 comments
Open

Cannot set onItemclicklistener for row #1

trietbui85 opened this issue Jan 27, 2012 · 6 comments

Comments

@trietbui85
Copy link

First of all, I'm not the guy who found this issue.
I'm the author of Android UI Patterns, an Android app collects all Android UI samples into 1 app ^^. You can download it here: https://market.android.com/details?id=com.groidify.uipatterns

Your IndexableListView was also included in this app (in homescreen > Listview > IndexableListView).

One of my use send me an email, notice this issue he found in IndexableListView:

Hi!

I'm having trouble accessing My onclicklistrner when using your listview.

In fact, your ontouchlistener almost totally overide the onclick...

This is not developpeur friendly....

Could you please check and help us to fix it?

Thanks.

@woozzu
Copy link
Owner

woozzu commented Jan 30, 2012

Use onItemClickListener instead. Using onClickListener on ListView is not allowed.

@trietbui85
Copy link
Author

Thanks for your reply.

You should better add a Toast notification whenever user clicks on each row ;) That would be easier.

@trietbui85
Copy link
Author

Sorry to post this message here, but I cannot find a way to send you a private message / email.

Hello woozzu,

First of all, let me introduce about myself. I'm Groidify, author of "Android UI Patterns" app for Android. My app aims at collecting all useful UI Patterns (such as ActionBar, Dashboard, ListView, ViewPager, Tabbar, QuickAction, Animation...) so that developers / designers can easily implement Android design in their apps. Let's download this app on Android Market (https://market.android.com/details?id=com.groidify.uipatterns) to see what's intertesting here.

I also include your IndexableListView and RefreshableListview libraryinto this app (at Homescreen > ListView > IndexableListView / RefreshableListview).

For the next release, I intend to add an "Author" section to honor who contribue these great libraries. Therefore, I need your help to fill in some private information:

  • Your avatar URL: (by default I get your avatar from Github first, if not have I will try to find in your Twitter/Google+).
  • Your real name.
  • Your Github/Google Code.
  • Your Google+
  • Your Twitter
  • Your Facebook
  • Your Email: this is very important. I know for some reasons, you don't like to make your email public. But I received some emails from "Android UI Patterns" user, ask me about bugs in your UI patterns, or suggest some new features, or he just want to thank you for your hard-working although I'm not the author of these sweet patterns. That's why I hope you can give me your email.
  • Your website/blog.
  • Your StackOverflow profile (if have).

Thank you for your cooperation. I would like to see your name in "Author" section for the next release of "Android UI Pattenrs".

Regards,
Groidify.

@diego-pinedo
Copy link

Hello,

Is there any way to attach individual onClick events to elements within the rows?

Use onItemClickListener is not an option for me...

@nahba
Copy link

nahba commented Aug 4, 2013

Hi All,

I tried to fix some issues. Here is the link https://github.com/Abhan/ScrollableSideIndexer

Thanks.

@xiaojidonggong
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants