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

SelectionListener.java « filter « 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: 3fad71773323c8892d7fbf169ae8db60fb1de6a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
package it.niedermann.nextcloud.deck.ui.filter;

import androidx.annotation.Nullable;

public interface SelectionListener<T> {
    void onItemSelected(@Nullable T item);

    default void onItemDeselected(@Nullable T item) {
        // Deselecting is optional
    }
}