From eae5f8e085a4ef983acf2c73c8c9f4f3b1ba4db9 Mon Sep 17 00:00:00 2001 From: "kevin.modejar" Date: Mon, 24 Mar 2025 10:22:49 +0100 Subject: [PATCH] =?UTF-8?q?fin=20page=20quote=20(l=C3=A9g=C3=A8re=20modif?= =?UTF-8?q?=20=C3=A0=20faire=20avec=20les=20viewModel?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../example/what_the_fantasy/data/mvvm/AppViewModel.kt | 9 --------- .../what_the_fantasy/data/services/ServicesStub.kt | 4 ++-- 2 files changed, 2 insertions(+), 11 deletions(-) delete mode 100644 What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/mvvm/AppViewModel.kt diff --git a/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/mvvm/AppViewModel.kt b/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/mvvm/AppViewModel.kt deleted file mode 100644 index 2a845ae..0000000 --- a/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/mvvm/AppViewModel.kt +++ /dev/null @@ -1,9 +0,0 @@ -package com.example.what_the_fantasy.data.mvvm - -import androidx.lifecycle.ViewModel -import com.example.what_the_fantasy.data.model.Quiz -import com.example.what_the_fantasy.data.model.Quote - -class AppViewModel: ViewModel() { - -} \ No newline at end of file diff --git a/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/services/ServicesStub.kt b/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/services/ServicesStub.kt index b51c15f..a546727 100644 --- a/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/services/ServicesStub.kt +++ b/What_The_Fantasy/app/src/main/java/com/example/what_the_fantasy/data/services/ServicesStub.kt @@ -46,11 +46,11 @@ class ServicesStub : IServices { } override fun AddFav(userId: Int, QuoteId: Int) { - TODO("Not yet implemented") + return } override fun SupFav(userId: Int, QuoteId: Int) { - TODO("Not yet implemented") + return } override fun AddComment(content: String) {