Skip to content

shouldDenySwipe seems to have no effect #86

Closed
@capezzbr

Description

@capezzbr
@Override
public void fillValues(final Citation model, View convertView) {
    TextView textTitle = (TextView)convertView.findViewById(R.id.text_data);
    textTitle.setText(Html.fromHtml(model.getHtmlDisplayString()));

    SwipeLayout swipeLayout = (SwipeLayout)convertView.findViewById(R.id.swipe);
    swipeLayout.addSwipeDenier(new SwipeLayout.SwipeDenier() {
        @Override
        public boolean shouldDenySwipe(MotionEvent motionEvent) {
            return true;
        }
    });

is still allowing the user to swipe the row. How it is possibile to fix?

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