Skip to content

Can't click item from listview #43

@CoericK

Description

@CoericK

As the title says i cant click an item loaded into the SuperListview

    <com.quentindommerc.superlistview.SuperListview
            xmlns:superlistview="http://schemas.android.com/apk/res-auto"
            android:id="@+id/lvParents"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            superlistview:superlv__listClipToPadding="false"
            superlistview:superlv__listDivider="@android:color/transparent"
            superlistview:superlv__listDividerHeight="10dp"
            superlistview:superlv__empty="@layout/emptyview"
            superlistview:superlv__moreProgress="@layout/view_more_progress"
            superlistview:superlv__scrollbarStyle="outsideOverlay" >
    </com.quentindommerc.superlistview.SuperListview>

Java:

        lvParents.setOnItemClickListener(new AdapterView.OnItemClickListener() {
            @Override
            public void onItemClick(AdapterView<?> parent, View view, int position, long id) {


                Toast.makeText(getActivity(), "Item clicked,", Toast.LENGTH_SHORT).show();


            }
        });

The data loads fine, but i cant select or click an item inside the listview, why is that?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions