I use a RecyclerView
with a CardLayout
and the CardLayout
contains multiple components. For filling the RecyclerView
I us
The problem was in the onBindViewHolder
method the focus was set, so when I remove the focus code it works.
@Override
public void onBindViewHolder(TodoViewHolder holder, int position) {
holder.cbDone.setChecked(todos.get(position).isChecked());
holder.tvDescription.setText(todos.get(position).getDescription());
// Remove the following code
// if(holder.tvDescription.requestFocus()) {
// window.setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_VISIBLE);
// }
}