From e837449f5c35b545f645e6ae36d12ecac89afbf6 Mon Sep 17 00:00:00 2001 From: Pierre Date: Sat, 13 Jan 2018 17:22:52 +0100 Subject: [PATCH] Marked GetUsersInfos methods as deprecated --- .../android/comunic/client/data/UsersInfo/GetUsersInfos.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/org/communiquons/android/comunic/client/data/UsersInfo/GetUsersInfos.java b/app/src/main/java/org/communiquons/android/comunic/client/data/UsersInfo/GetUsersInfos.java index a7d697e..d1b8986 100644 --- a/app/src/main/java/org/communiquons/android/comunic/client/data/UsersInfo/GetUsersInfos.java +++ b/app/src/main/java/org/communiquons/android/comunic/client/data/UsersInfo/GetUsersInfos.java @@ -73,6 +73,7 @@ public class GetUsersInfos { * @param id The ID of the user to get the informations * @param callback What to do once we got the response */ + @Deprecated public void get(int id, final getUserInfosCallback callback){ //Check if the ID is positive, error else @@ -100,6 +101,7 @@ public class GetUsersInfos { * @param IDs The ID of the user to get * @param callback The result once we got all the users */ + @Deprecated public void getMultiple(final ArrayList IDs, final getMultipleUserInfosCallback callback){ new AsyncTask>(){