@Override
    public int getCount() {
        if (mOOBTypes.isEmpty())
            return 1;
        return mOOBTypes.size();
    }
Constructs AuthenticationOOBMethodsAdapter

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