Welcome to mirror list, hosted at ThFree Co, Russian Federation.

AttachmentViewHolder.java « attachments « card « ui « deck « nextcloud « niedermann « it « java « main « src « app - github.com/stefan-niedermann/nextcloud-deck.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ed3031b7cfe2ecac1f50fbf05c9ff8f18ea09217 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package it.niedermann.nextcloud.deck.ui.card.attachments;

import android.view.View;
import android.widget.ImageView;

import androidx.annotation.ColorInt;
import androidx.annotation.NonNull;
import androidx.recyclerview.widget.RecyclerView;

public abstract class AttachmentViewHolder extends RecyclerView.ViewHolder {
    AttachmentViewHolder(@NonNull View itemView) {
        super(itemView);
    }

    abstract protected ImageView getPreview();

    abstract protected void setNotSyncedYetStatus(boolean synced, @ColorInt int color);
}