From 8e6a7bb78cad10a3245a6337a8c5efb0e795fe6f Mon Sep 17 00:00:00 2001 From: Harrishan Date: Thu, 21 Nov 2024 12:29:27 +0100 Subject: [PATCH] feat: add a new data class where sensitive datas are shared to all view models --- .../com/android/periodpals/model/shared/SharedData.kt | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 app/src/main/java/com/android/periodpals/model/shared/SharedData.kt diff --git a/app/src/main/java/com/android/periodpals/model/shared/SharedData.kt b/app/src/main/java/com/android/periodpals/model/shared/SharedData.kt new file mode 100644 index 000000000..ab7fdff22 --- /dev/null +++ b/app/src/main/java/com/android/periodpals/model/shared/SharedData.kt @@ -0,0 +1,8 @@ +package com.android.periodpals.model.shared + +/** + * Data class for shared data among view models. + * + * @property userId The ID of the user. + */ +data class SharedData(val userId: String)