What causing this exception java.lang.RuntimeException: java.lang.NoSuchMethodException: <init> [class android.view.View]
问题 I'm having a problem with my firebase project. I followed the steps on firebase GitHub documentation, but I got this exception java.lang.RuntimeException: java.lang.NoSuchMethodException: <init> [class android.view.View] this is a ViewHolder class which is not an inner class. public class ProductViewHolder extends RecyclerView.ViewHolder{ public View mView; public ImageView img; public TextView title; public TextView price; public RatingBar stars; ProductViewHolder(View itemView) { super