diff --git a/app/src/main/java/eu/faircode/email/AdapterMessage.java b/app/src/main/java/eu/faircode/email/AdapterMessage.java index b7994d5100..698e53f68c 100644 --- a/app/src/main/java/eu/faircode/email/AdapterMessage.java +++ b/app/src/main/java/eu/faircode/email/AdapterMessage.java @@ -79,6 +79,7 @@ import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.ArrayList; import java.util.Arrays; +import java.util.Calendar; import java.util.Collections; import java.util.Comparator; import java.util.Date; @@ -108,6 +109,8 @@ import androidx.recyclerview.widget.LinearLayoutManager; import androidx.recyclerview.widget.RecyclerView; import androidx.recyclerview.widget.StaggeredGridLayoutManager; +import static android.text.format.DateUtils.DAY_IN_MILLIS; + public class AdapterMessage extends RecyclerView.Adapter { private Context context; private LayoutInflater inflater; @@ -141,11 +144,13 @@ public class AdapterMessage extends RecyclerView.Adapter + + + + + app:layout_constraintTop_toBottomOf="@id/vSeparatorDay" /> + app:layout_constraintTop_toBottomOf="@id/vSeparatorDay" /> + + + + + + + app:layout_constraintTop_toBottomOf="@id/vSeparatorDay" /> + app:layout_constraintTop_toBottomOf="@id/vSeparatorDay" /> + +