6.6.2 - Alpha5 - 同步并兼容 Rhino 引擎上游代码 (1.8.1-SNAPSHOT)
This commit is contained in:
@@ -56,6 +56,8 @@ import androidx.fragment.app.DialogFragment;
|
||||
import androidx.fragment.app.FragmentActivity;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.util.Arrays;
|
||||
import java.util.Locale;
|
||||
import java.util.function.Consumer;
|
||||
@@ -829,6 +831,7 @@ public class ColorPickerDialog extends DialogFragment implements ColorPickerView
|
||||
// region Builder
|
||||
|
||||
@IntDef({TYPE_CUSTOM, TYPE_PRESETS})
|
||||
@Retention(RetentionPolicy.SOURCE)
|
||||
public @interface DialogType {
|
||||
|
||||
}
|
||||
|
||||
@@ -18,12 +18,17 @@ package com.jaredrummler.android.colorpicker;
|
||||
|
||||
import androidx.annotation.IntDef;
|
||||
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
|
||||
/**
|
||||
* The shape of the color preview
|
||||
*/
|
||||
@IntDef({ ColorShape.SQUARE, ColorShape.CIRCLE }) public @interface ColorShape {
|
||||
@IntDef({ColorShape.SQUARE, ColorShape.CIRCLE})
|
||||
@Retention(RetentionPolicy.SOURCE)
|
||||
public @interface ColorShape {
|
||||
|
||||
int SQUARE = 0;
|
||||
int SQUARE = 0;
|
||||
|
||||
int CIRCLE = 1;
|
||||
int CIRCLE = 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user