Facing issue in Position value during Drag and drop in RecyclerView android
问题 How do i get new position value during drag and drop in RecyclerView adapter? Drag and Drop is working perfect but when i set setOnClickListener to open my detail activity. it gives me the old position value. For example : If i drag 2nd item (INDEX 1) and drop at 1st item's position (INDEX 0). On debuging inside setOnClickListener when i am calling Intent. Position value is 1 (INDEX 1) but what i need is value 0 (INDEX 0). @Override public void onBindViewHolder(final ItemViewHolder holder,