From 37c9c1e7991984f98ab9b1a00fc7470240a96aaa Mon Sep 17 00:00:00 2001 From: oogee Date: Wed, 10 Jul 2019 12:10:04 +0300 Subject: [PATCH] create inbox task --- .../activities/inbox/tasks/InboxTask.java | 22 +++++++++++++++++++ .../java/gr/thmmy/mthmmy/model/Inbox.java | 4 ++++ .../main/java/gr/thmmy/mthmmy/model/PM.java | 4 ++++ 3 files changed, 30 insertions(+) create mode 100644 app/src/main/java/gr/thmmy/mthmmy/activities/inbox/tasks/InboxTask.java create mode 100644 app/src/main/java/gr/thmmy/mthmmy/model/Inbox.java create mode 100644 app/src/main/java/gr/thmmy/mthmmy/model/PM.java diff --git a/app/src/main/java/gr/thmmy/mthmmy/activities/inbox/tasks/InboxTask.java b/app/src/main/java/gr/thmmy/mthmmy/activities/inbox/tasks/InboxTask.java new file mode 100644 index 00000000..50c72745 --- /dev/null +++ b/app/src/main/java/gr/thmmy/mthmmy/activities/inbox/tasks/InboxTask.java @@ -0,0 +1,22 @@ +package gr.thmmy.mthmmy.activities.inbox.tasks; + +import org.jsoup.nodes.Document; + +import gr.thmmy.mthmmy.model.Inbox; +import gr.thmmy.mthmmy.utils.parsing.NewParseTask; +import gr.thmmy.mthmmy.utils.parsing.ParseException; +import okhttp3.Response; + +public class InboxTask extends NewParseTask { + @Override + protected Inbox parse(Document document, Response response) throws ParseException { + return null; + } + + @Override + protected int getResultCode(Response response, Inbox data) { + return 0; + } +} + + diff --git a/app/src/main/java/gr/thmmy/mthmmy/model/Inbox.java b/app/src/main/java/gr/thmmy/mthmmy/model/Inbox.java new file mode 100644 index 00000000..d84af7cc --- /dev/null +++ b/app/src/main/java/gr/thmmy/mthmmy/model/Inbox.java @@ -0,0 +1,4 @@ +package gr.thmmy.mthmmy.model; + +public class Inbox { +} diff --git a/app/src/main/java/gr/thmmy/mthmmy/model/PM.java b/app/src/main/java/gr/thmmy/mthmmy/model/PM.java new file mode 100644 index 00000000..3739180a --- /dev/null +++ b/app/src/main/java/gr/thmmy/mthmmy/model/PM.java @@ -0,0 +1,4 @@ +package gr.thmmy.mthmmy.model; + +public class PM { +}