How to get the position of cardView item in recyclerView?
问题 I created one adapter class for recycler for populating cardview layout in recyclerview. It is working fine, but when i click cardView item in recyclerview i need to get position of that cardview item , based on that i need to write a Intent activity. Along with how to delete that cardview item when i swipe left to right. MyAdapter class. public class MyAdapter extends RecyclerView.Adapter<MyAdapter.ViewHolder> { private NavigationItem[] navigationItem; private Context mContext; public