diff --git a/app/src/main/java/com/nextcloud/talk/adapters/SharedItemsListAdapter.kt b/app/src/main/java/com/nextcloud/talk/adapters/SharedItemsListAdapter.kt index 455ab2609..60619fca6 100644 --- a/app/src/main/java/com/nextcloud/talk/adapters/SharedItemsListAdapter.kt +++ b/app/src/main/java/com/nextcloud/talk/adapters/SharedItemsListAdapter.kt @@ -1,6 +1,7 @@ package com.nextcloud.talk.adapters import android.net.Uri +import android.text.format.Formatter import android.view.LayoutInflater import android.view.View import android.view.ViewGroup @@ -12,12 +13,14 @@ import com.facebook.imagepipeline.request.ImageRequestBuilder import com.nextcloud.talk.R import com.nextcloud.talk.databinding.AttachmentListItemBinding import com.nextcloud.talk.repositories.SharedItem +import com.nextcloud.talk.utils.DateUtils import com.nextcloud.talk.utils.FileViewerUtils class SharedItemsListAdapter : RecyclerView.Adapter() { companion object { private val TAG = SharedItemsListAdapter::class.simpleName + private const val ONE_SECOND_IN_MILLIS = 1000 } class ViewHolder(val binding: AttachmentListItemBinding, itemView: View) : RecyclerView.ViewHolder(itemView) @@ -35,6 +38,13 @@ class SharedItemsListAdapter : RecyclerView.Adapter - + android:orientation="vertical" + android:layout_toEndOf="@id/preview_container"> + + + + + + + + + + + +