What is the right way of Android View Binding in the RecyclerView adapter class?
问题 Here is the code I used in my RecycleView adapter class. I don't know this is the right way or not to use View Binding. If you have a better solution answer me. Thank you. @Override public CategoryAdapter.MyViewHolder onCreateViewHolder(@NonNull ViewGroup parent, int viewType) { View itemView = LayoutInflater.from(parent.getContext()) .inflate(R.layout.common_circle_image, parent, false); return new MyViewHolder(itemView); } @Override public void onBindViewHolder(@NonNull CategoryAdapter