@Override
    public boolean equals(final Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        final SceneUiState sceneUiState = (SceneUiState) o;

        if (number != sceneUiState.number) return false;
        if (isCurrentScene != sceneUiState.isCurrentScene) return false;
        return name.equals(sceneUiState.name);
    }
A ui state class mapped to display the contents of a {@link Scene}
app/src/main/java/no/nordicsemi/android/nrfmesh/scenes/adapter/SceneUiState.java