mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
3d3db71763
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
24 lines
781 B
Java
24 lines
781 B
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.ReadableArray;
|
|
|
|
public interface AndroidSwipeRefreshLayoutManagerInterface<T extends View> {
|
|
void setEnabled(T view, boolean value);
|
|
void setColors(T view, @Nullable ReadableArray value);
|
|
void setProgressBackgroundColor(T view, @Nullable Integer value);
|
|
void setSize(T view, int value);
|
|
void setProgressViewOffset(T view, float value);
|
|
void setRefreshing(T view, boolean value);
|
|
}
|