RecyclerView displaying only first index of three
Solution 1:
Check your recycler view Item list_item height.
make it wrap_content if it's set to match_parent.
Solution 2:
Could you post xml code please?
I think the problem can be that in
public void onBindViewHolder(@NonNull ViewHolder viewHolder, int i) {
//update
NoteEntity note = mNotes.get(i);
TextView textView = viewHolder.mTextView;
textView.setText(note.getText());
Log.i("taozen", note.getText());
}
because you are passing only one integer but I cannot try without code