public void selectNetKey(final int index) {
        networkKey = getNetworkLiveData().getMeshNetwork().getNetKey(index);
        networkKeyLiveData.setValue(networkKey);
    }
Selects the Network Key based on the given key index

@param index Key index
app/src/main/java/no/nordicsemi/android/nrfmesh/viewmodels/EditNetKeyViewModel.java