I have code as :

```
@Override
public CustomRatingHolder onCreateViewHolder(ViewGroup viewGroup, int i) {
    View view = LayoutInflater.from(viewGroup.getContext()).inflate(
            R.layout.custom_rating_lyt, null);

    CustomRatingReviews ratingObj = (null != mRatingLst && position < mRatingLst.size()) ?
            mRatingLst.get(position) : null;

    CustomRatingHolder viewHolder = new CustomRatingHolder(mAdapContext, ratingObj, view);
    position++;
    return viewHolder;
}

```

I want current position inside the onCreateViewHolder of recycler adapter. Let anyone help me out of this. Thanks in Advance.