diff --git a/app/src/main/java/app/fedilab/android/ui/drawer/StatusAdapter.java b/app/src/main/java/app/fedilab/android/ui/drawer/StatusAdapter.java index e9804fc7..8148ee3b 100644 --- a/app/src/main/java/app/fedilab/android/ui/drawer/StatusAdapter.java +++ b/app/src/main/java/app/fedilab/android/ui/drawer/StatusAdapter.java @@ -105,6 +105,7 @@ import app.fedilab.android.client.entities.api.Poll; import app.fedilab.android.client.entities.api.Status; import app.fedilab.android.client.entities.app.StatusDraft; import app.fedilab.android.client.entities.app.Timeline; +import app.fedilab.android.databinding.DrawerFetchMoreBinding; import app.fedilab.android.databinding.DrawerStatusArtBinding; import app.fedilab.android.databinding.DrawerStatusBinding; import app.fedilab.android.databinding.DrawerStatusHiddenBinding; @@ -1736,6 +1737,7 @@ public class StatusAdapter extends RecyclerView.Adapter DrawerStatusBinding binding; DrawerStatusHiddenBinding bindingHidden; DrawerStatusReportBinding bindingReport; + DrawerFetchMoreBinding bindingFetchMore; DrawerStatusNotificationBinding bindingNotification; DrawerStatusArtBinding bindingArt; Timer timer; @@ -1762,6 +1764,11 @@ public class StatusAdapter extends RecyclerView.Adapter bindingHidden = itemView; } + StatusViewHolder(DrawerFetchMoreBinding itemView) { + super(itemView.getRoot()); + bindingFetchMore = itemView; + } + StatusViewHolder(DrawerStatusArtBinding itemView) { super(itemView.getRoot()); bindingArt = itemView; diff --git a/app/src/main/res/layout/drawer_fetch_more.xml b/app/src/main/res/layout/drawer_fetch_more.xml new file mode 100644 index 00000000..5a28df3f --- /dev/null +++ b/app/src/main/res/layout/drawer_fetch_more.xml @@ -0,0 +1,12 @@ + + \ No newline at end of file diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 1f30006e..1ec7001d 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -1613,6 +1613,7 @@ Origin of reported account Status Resolved + Fetch more messages…