React native 反应本机动画循环进度无法正常工作 我想画一个动画圆圈进度,当我开始动画时,它会以持续时间运行,但在完成动画后,它不会正确显示,它只显示一个 从“react native circular progress”导入{AnimatedCircularProgress}; 从“React”导入React,{Component}; 从“react native percentage circle”导入PercentageCircle; 进口{ 评估学, 形象,, 状态栏, 样式表, 可触摸不透明度, 看法 }从“反应本机”; 导出默认类FirstScreen扩展组件{ componentDidMount(){ 这个.circularProgress.performLinearAnimation(1008000); } render(){ 返回( 然后它显示为 然后在完成圆圈后,它只显示一条直线
这听起来像是Android上最新React本机版本遇到的错误: 它固定在这个叉子上:React native 反应本机动画循环进度无法正常工作 我想画一个动画圆圈进度,当我开始动画时,它会以持续时间运行,但在完成动画后,它不会正确显示,它只显示一个 从“react native circular progress”导入{AnimatedCircularProgress}; 从“React”导入React,{Component}; 从“react native percentage circle”导入PercentageCircle; 进口{ 评估学, 形象,, 状态栏, 样式表, 可触摸不透明度, 看法 }从“反应本机”; 导出默认类FirstScreen扩展组件{ componentDidMount(){ 这个.circularProgress.performLinearAnimation(1008000); } render(){ 返回( 然后它显示为 然后在完成圆圈后,它只显示一条直线 ,react-native,React Native,这听起来像是Android上最新React本机版本遇到的错误: 它固定在这个叉子上: I want to draw a animated circuler progress on which run with duration when i start animation it show not properly After Complete Animation it show only a import { AnimatedCircularProgress } from 'react-na
I want to draw a animated circuler progress on which run with duration when i start animation it show not properly After Complete Animation it show only a
import { AnimatedCircularProgress } from 'react-native-circular-progress';
import React,{Component} from 'react';
import PercentageCircle from 'react-native-percentage-circle';
import {
AppRegistry,
Image,
StatusBar,
StyleSheet,
TouchableOpacity,
View,
} from 'react-native';
export default class FirstScreen extends Component {
componentDidMount() {
this.circularProgress.performLinearAnimation(100, 8000);
}
render() {
return (
<View>
<AnimatedCircularProgress
size={120}
width={15}
fill={100}
tintColor="#00e0ff"
backgroundColor="#3d5875"
ref={(AnimatedCircularProgress) => { this.circularProgress = AnimatedCircularProgress; }}/>
</View>
);
}
}
AppRegistry.registerComponent('GTproject', () =>FirstScreen);
The link i follow is https://github.com/bgryszko/react-native-circular-progress
The Screen shot of animation from start to end first it start a circle from 0 but one line from an other side is also with this circle as in show below link