mirror of
https://github.com/react/react-native.git
synced 2026-10-04 02:42:32 +08:00
Summary: This diff checks in the OSS view manager interfaces and delegates generated by the JS codegen. This is a temporary workaround since we don't have the JS codegen running in open source. Reviewed By: fkgozali Differential Revision: D17104816 fbshipit-source-id: 848afc081785c9a78891d3dc0740ebe858eb8891
32 lines
1.2 KiB
Java
32 lines
1.2 KiB
Java
/**
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*
|
|
* @generated by codegen project: GeneratePropsJavaInterface.js
|
|
*/
|
|
|
|
package com.facebook.react.viewmanagers;
|
|
|
|
import android.view.View;
|
|
import androidx.annotation.Nullable;
|
|
import com.facebook.react.bridge.ReadableMap;
|
|
|
|
public interface SliderManagerInterface<T extends View> {
|
|
void setDisabled(T view, boolean value);
|
|
void setEnabled(T view, boolean value);
|
|
void setMaximumTrackImage(T view, @Nullable ReadableMap value);
|
|
void setMaximumTrackTintColor(T view, @Nullable Integer value);
|
|
void setMaximumValue(T view, float value);
|
|
void setMinimumTrackImage(T view, @Nullable ReadableMap value);
|
|
void setMinimumTrackTintColor(T view, @Nullable Integer value);
|
|
void setMinimumValue(T view, float value);
|
|
void setStep(T view, float value);
|
|
void setTestID(T view, @Nullable String value);
|
|
void setThumbImage(T view, @Nullable ReadableMap value);
|
|
void setThumbTintColor(T view, @Nullable Integer value);
|
|
void setTrackImage(T view, @Nullable ReadableMap value);
|
|
void setValue(T view, float value);
|
|
}
|