SwipeMenuListView
SwipeMenuListView copied to clipboard
SwipeMenuListView does not swipe completely, if it's inside a scroll view
SwipeMenuListView works fine on its own. But when I encapsulate it inside a vertical scrollview, the menu items of the list view do not swipe properly and all the menu items are not visible on swipe. What is the issue and how do I fix it?
I need it inside a vertical scroll view, because there are other text view in the activity. I want to be able to scroll the entire activity together.
I am also having similar problem when I use SwipeMenuListView with ViewPager, it does not show menus completely when swiped.
@kit24 Have you found any solution for this?
I solved it (I think) by doing this:
listView.setOnSwipeListener(new SwipeMenuListView.OnSwipeListener() {
@Override
public void onSwipeStart(int position) {
listView.smoothOpenMenu(position);
}
@Override
public void onSwipeEnd(int position) {
}
});
Same problem here! It doesn't show the swipeMenu on swipe when I put it in ViewHolder, but it show if I use smoothOpenMenu().
Any solution? Thanks.
有答案吗?想知道,smoothOpenMenu不能完全解决问题
Any solutions? I just find a way that using a custorm view extends SwipeMenuListView to solve this problem
I am able to work this in a normal array adapter but not working in my custom adapter or list adapter while pushing textviews into list
Hello everyone. I had reviewed your comments but not fully solved my problem. When I am trying to swipe cells inside viewpager, pager is working firstly, Nobody had solved this issues?