0
I need to get the position of an item in the list, where the code is what I passed. In C# I do this like Python, how to do in java?
public void onBindViewHolder(final LineHolder_Entidade holder, final int position) {
Context holder_Context = holder.itemView.getContext();
int oPosicao = oEntidades.get(position).getCodigo();// onde o código == 2