mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: This diff migrates `ReactProgressBarViewManager` to use the generated `AndroidProgressBarManagerDelegate` for setting its properties. Reviewed By: JoshuaGross, mdvacca Differential Revision: D17315619 fbshipit-source-id: 6293c6fc18567a934b6f3dce9b77abcc408052d8
24 lines
767 B
Java
24 lines
767 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;
|
|
|
|
public interface AndroidProgressBarManagerInterface<T extends View> {
|
|
void setStyleAttr(T view, @Nullable String value);
|
|
void setTypeAttr(T view, @Nullable String value);
|
|
void setIndeterminate(T view, boolean value);
|
|
void setProgress(T view, double value);
|
|
void setAnimating(T view, boolean value);
|
|
void setColor(T view, @Nullable Integer value);
|
|
void setTestID(T view, @Nullable String value);
|
|
}
|