mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2025-01-09 13:43:22 +00:00
26 lines
1.1 KiB
Java
26 lines
1.1 KiB
Java
package com.google.android.material.datepicker;
|
|
|
|
import androidx.fragment.app.Fragment;
|
|
import java.util.LinkedHashSet;
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
/* loaded from: classes2.dex */
|
|
public abstract class PickerFragment<S> extends Fragment {
|
|
protected final LinkedHashSet<OnSelectionChangedListener<S>> onSelectionChangedListeners = new LinkedHashSet<>();
|
|
|
|
abstract DateSelector<S> getDateSelector();
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
public boolean addOnSelectionChangedListener(OnSelectionChangedListener<S> onSelectionChangedListener) {
|
|
return this.onSelectionChangedListeners.add(onSelectionChangedListener);
|
|
}
|
|
|
|
boolean removeOnSelectionChangedListener(OnSelectionChangedListener<S> onSelectionChangedListener) {
|
|
return this.onSelectionChangedListeners.remove(onSelectionChangedListener);
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
public void clearOnSelectionChangedListeners() {
|
|
this.onSelectionChangedListeners.clear();
|
|
}
|
|
}
|