Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

175
Views
Cómo girar una imagen infinitamente en React Native

Estoy tratando de hacer girar una imagen infinitamente, un disco giratorio. Verifiqué usando animation o react-native-animatable . Tienen duración y tiempo, ¿cómo giro sin ponerle tiempo o ángulo de giro?

 const handleAnimation = () => { Animated.timing(rotateAnimation, { toValue: 1, duration: 72000, useNativeDriver: false, }).start(() => { rotateAnimation.setValue(0); }); }; <TouchableOpacity onPress={async () => handleAnimation()}> <Animated.Image style={{ width: 300, height: 300, transform: [{ rotate: interpolateRotating }] }} source={abcd} > </Animated.Image> </TouchableOpacity>
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Intente agregar Animated.timing en un Animated.loop

 Animated.loop( Animated.timing(rotateAnimation, { toValue: 1, duration: 72000, useNativeDriver: false, }) ).start();
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!