Closed noxevolution closed 8 years ago
That's simple.You can set a id for the bottomView,and find it in adapter,then set OnclickListener for this view.In this listener,you could set a callback and register in the activity where adapter is.In the method of callback,call swipeLayout.close().That's all.Maybe my description will confuse you.I'll give you a full answer tomorrow,It's too late in China now.
Hi, I am sort of new to android development, I am working on my small app and I need a swipe feature for this. So I did a little bit searching and I found this amazing library. Now What I want to do is the frontview or SurfaceView will be closed when I clicked on the hiddenview or BottomView .. How can I accomplish this?? Please any help would be appreciated!!!!
this is my adapter code,
public class ListViewAdapter extends BaseSwipeAdapter { SwipeLayout swipeLayout; private Context mContext; private int position; private String[] arr; TextView textView; LinearLayout linearLayout;
}