I want to implement a functionality to draw a background colour along with icon behind the RecyclerView item when the user swipes in left/right direction. I am using this library but I am unable to figure out how I can implement the functionality of RealmSimpleItemTouchHelperCallback and allow only limited actions eg: only swipe or only drag.
Hello,
I want to implement a functionality to draw a background colour along with icon behind the RecyclerView item when the user swipes in left/right direction. I am using this library but I am unable to figure out how I can implement the functionality of RealmSimpleItemTouchHelperCallback and allow only limited actions eg: only swipe or only drag.
Please help me out. Thanks in advance.