We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I like this library. I was wondering though, is there a way to set onItemLongClickListener on ListView with expandable items?
onItemLongClickListener
ListView
I tried mListView.setOnItemLongClickListener(myOnItemLongClickListener); but long clicks are not registered
mListView.setOnItemLongClickListener(myOnItemLongClickListener);
The text was updated successfully, but these errors were encountered:
I have this issue too.
Sorry, something went wrong.
The point is android:longClickable="true" and android:descendantFocusability="blocksDescendants"
android:longClickable="true"
android:descendantFocusability="blocksDescendants"
<com.silencedut.expandablelayout.ExpandableLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:id="@+id/expandable_layout" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_gravity="center" android:longClickable="true" android:descendantFocusability="blocksDescendants" app:expWithParentScroll="true"> ... </com.silencedut.expandablelayout.ExpandableLayout>
No branches or pull requests
I like this library. I was wondering though, is there a way to set
onItemLongClickListener
onListView
with expandable items?I tried
mListView.setOnItemLongClickListener(myOnItemLongClickListener);
but long clicks are not registered
The text was updated successfully, but these errors were encountered: