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

請問為何單數的item都無法滑動? #158

Open
Pin-Yi-Wu opened this issue Jun 15, 2017 · 1 comment
Open

請問為何單數的item都無法滑動? #158

Pin-Yi-Wu opened this issue Jun 15, 2017 · 1 comment

Comments

@Pin-Yi-Wu
Copy link

No description provided.

@JohnChung93
Copy link

指的是 SimpleActivity 裡的 item 的話
修改 class AppAdapter extends BaseSwipListAdapter 裡的 getSwipEnableByPosition 取代為下面的程式碼就可以了

@Override
public boolean getSwipEnableByPosition(int position) {
    return true;
}

或者 修改 AppAdapter 改為 extends BaseAdapter 並移除 getSwipEnableByPosition 就可以了

class AppAdapter extends BaseAdapter 

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

2 participants