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

UpcomingCardsSectionViewHolder.java « upcomingcards « 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: 60b6a4b9059c21f6225fbc6743727dd7efbdf677 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package it.niedermann.nextcloud.deck.ui.upcomingcards;

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

import it.niedermann.nextcloud.deck.databinding.ItemSectionBinding;

public class UpcomingCardsSectionViewHolder extends RecyclerView.ViewHolder {

    @NonNull
    private final ItemSectionBinding binding;

    public UpcomingCardsSectionViewHolder(@NonNull ItemSectionBinding binding) {
        super(binding.getRoot());
        this.binding = binding;
    }

    public void bind(@NonNull String sectionTitle) {
        this.binding.sectionTitle.setText(sectionTitle);
    }
}