LucaMs Expert Licensed User Longtime User Apr 12, 2024 #1 I'm struggling with this thing, animate a gif only once (or N times). In B4J and B4A you most likely have to use the setCycleCount (Java) method and I haven't been able to use it yet, but I don't have B4i anyway, so I couldn't do it for this too.
I'm struggling with this thing, animate a gif only once (or N times). In B4J and B4A you most likely have to use the setCycleCount (Java) method and I haven't been able to use it yet, but I don't have B4i anyway, so I couldn't do it for this too.
Erel B4X founder Staff member Licensed User Longtime User Apr 14, 2024 #2 Not possible in B4J. I haven't checked it in B4i. There is indeed a method in B4A: B4X: 'After you called SetGif B4XGifView1.GifDrawable.RunMethod("setLoopCount", Array(1))
Not possible in B4J. I haven't checked it in B4i. There is indeed a method in B4A: B4X: 'After you called SetGif B4XGifView1.GifDrawable.RunMethod("setLoopCount", Array(1))
LucaMs Expert Licensed User Longtime User Apr 14, 2024 #3 Erel said: Not possible in B4J Click to expand... Are you sure? https://docs.oracle.com/javafx/2/api/javafx/animation/Animation.html
Erel said: Not possible in B4J Click to expand... Are you sure? https://docs.oracle.com/javafx/2/api/javafx/animation/Animation.html
Erel B4X founder Staff member Licensed User Longtime User Apr 14, 2024 #4 Yes, this is a different class. Not the one used for animated gifs.