summaryrefslogtreecommitdiffstats
path: root/app/src/main/java/fr/gouv/etalab/mastodon/interfaces/OnSyncTimelineInterface.java
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/java/fr/gouv/etalab/mastodon/interfaces/OnSyncTimelineInterface.java')
-rw-r--r--app/src/main/java/fr/gouv/etalab/mastodon/interfaces/OnSyncTimelineInterface.java28
1 files changed, 28 insertions, 0 deletions
diff --git a/app/src/main/java/fr/gouv/etalab/mastodon/interfaces/OnSyncTimelineInterface.java b/app/src/main/java/fr/gouv/etalab/mastodon/interfaces/OnSyncTimelineInterface.java
new file mode 100644
index 000000000..729e1b3c4
--- /dev/null
+++ b/app/src/main/java/fr/gouv/etalab/mastodon/interfaces/OnSyncTimelineInterface.java
@@ -0,0 +1,28 @@
+/* Copyright 2019 Thomas Schneider
+ *
+ * This file is a part of Mastalab
+ *
+ * This program is free software; you can redistribute it and/or modify it under the terms of the
+ * GNU General Public License as published by the Free Software Foundation; either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * Mastalab is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+ * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
+ * Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License along with Mastalab; if not,
+ * see <http://www.gnu.org/licenses>. */
+package fr.gouv.etalab.mastodon.interfaces;
+
+
+import java.util.List;
+
+import fr.gouv.etalab.mastodon.client.Entities.ManageTimelines;
+
+/**
+ * Created by Thomas on 22/04/2019.
+ * Interface when timelines are retrieved
+ */
+public interface OnSyncTimelineInterface {
+ void syncedTimelines(List<ManageTimelines> manageTimelines, int position);
+}