SHARE
TWEET

Untitled

a guest Mar 22nd, 2019 71 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ItemTouchHelper itemTouchHelper1 = new ItemTouchHelper(new ItemTouchHelper.SimpleCallback() {
  2.             @Override
  3.             public boolean onMove(@NonNull RecyclerView recyclerView, @NonNull RecyclerView.ViewHolder viewHolder, @NonNull RecyclerView.ViewHolder viewHolder1) {
  4.                 return false;
  5.             }
  6.  
  7.             @Override
  8.             public void onSwiped(@NonNull RecyclerView.ViewHolder viewHolder, int i) {
  9.  
  10.             }
  11.  
  12.             @Override
  13.             public void onSelectedChanged(@Nullable RecyclerView.ViewHolder viewHolder, int actionState) {
  14.                 super.onSelectedChanged(viewHolder, actionState);
  15.             }
  16.  
  17.             @Override
  18.             public void clearView(@NonNull RecyclerView recyclerView, @NonNull RecyclerView.ViewHolder viewHolder) {
  19.                 super.clearView(recyclerView, viewHolder);
  20.             }
  21.         });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top