public void navigateToModelActivity(@NonNull final Activity context, @NonNull final MeshModel model) {
        final Intent intent;
        if (model.getModelId() == CONFIGURATION_SERVER) {
            intent = new Intent(context, ConfigurationServerActivity.class);
        } else if (model.getModelId() == CONFIGURATION_CLIENT) {
            intent = new Intent(context, ConfigurationClientActivity.class);
        } else if (model.getModelId() == GENERIC_ON_OFF_SERVER) {
            intent = new Intent(context, GenericOnOffServerActivity.class);
        } else if (model.getModelId() == GENERIC_LEVEL_SERVER) {
            intent = new Intent(context, GenericLevelServerActivity.class);
        } else if (model.getModelId() == SCENE_SERVER) {
            intent = new Intent(context, SceneServerModelActivity.class);
        } else if (model.getModelId() == SCENE_SETUP_SERVER) {
            intent = new Intent(context, SceneSetupServerModelActivity.class);
        } else if (model.getModelId() == SENSOR_SERVER) {
            intent = new Intent(context, SensorServerActivity.class);
        } else if (model instanceof VendorModel) {
            intent = new Intent(context, VendorModelActivity.class);
        } else {
            intent = new Intent(context, GenericModelConfigurationActivity.class);
        }
        context.startActivity(intent);
    }
Start activity based on the type of the model

<p> This way we can seperate the ui logic for different activities</p>

@param context Activity context
@param model   {@link MeshModel}
app/src/main/java/no/nordicsemi/android/nrfmesh/viewmodels/BaseViewModel.java