@Override
    public View getView(final int position, final View convertView, final ViewGroup parent) {
        View view = convertView;
        ViewHolder viewHolder;
        if (view == null) {
            final OobTypeItemBinding binding = OobTypeItemBinding.inflate(LayoutInflater.from(parent.getContext()), parent, false);
            view = binding.getRoot();
            viewHolder = new ViewHolder(binding);
            view.setTag(viewHolder);
        } else {
            viewHolder = (ViewHolder) view.getTag();
        }

        final AuthenticationOOBMethods oobType = mOOBTypes.get(position);
        viewHolder.oobTypeName.setText(AuthenticationOOBMethods.getAuthenticationMethodName(oobType));
        return view;
    }
Constructs AuthenticationOOBMethodsAdapter

@param context  Context
@param oobTypes List of oob types
app/src/main/java/no/nordicsemi/android/nrfmesh/adapter/AuthenticationOOBMethodsAdapter.java