IndexableListView icon indicating copy to clipboard operation
IndexableListView copied to clipboard

Cannot set onItemclicklistener for row

Open trietbui85 opened this issue 13 years ago • 6 comments

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.

trietbui85 avatar Jan 27 '12 11:01 trietbui85

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

woozzu avatar Jan 30 '12 05:01 woozzu

Thanks for your reply.

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

trietbui85 avatar Jan 30 '12 06:01 trietbui85

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.

trietbui85 avatar Jan 30 '12 17:01 trietbui85

Hello,

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

Use onItemClickListener is not an option for me...

diego-pinedo avatar May 28 '13 16:05 diego-pinedo

Hi All,

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

Thanks.

nahba avatar Aug 04 '13 15:08 nahba

@nahba the link https://github.com/Abhan/ScrollableSideIndexer non-existent

xiaojidonggong avatar Feb 03 '16 05:02 xiaojidonggong