Skip to content Skip to sidebar Skip to footer

FirebaseRecyclerAdapter Give NoSuchMethodException If Build Using Release Keystore

I know from https://github.com/firebase/FirebaseUI-Android/issues/46, to fix NoSuchMethodException : make sure that your TaskViewHolder class is public if your TaskViewHolder is a

Solution 1:

As @CommonsWare guess. The problem is solved after adding public to CommentHolder constructor.

public CommentHolder(View row) {
super(row);
auth=FirebaseAuth.getInstance();
database=FirebaseDatabase.getInstance();

tvComment = (TextView) row.findViewById(R.id.comment);
tvUser = (TextView) row.findViewById(R.id.user);
tvDate = (TextView) row.findViewById(R.id.datecomment);

row.setOnClickListener(this);
}

Post a Comment for "FirebaseRecyclerAdapter Give NoSuchMethodException If Build Using Release Keystore"