I have not looked or used the library but can probably be done with a bit of inline Java code or using JavaObject:
ObjectAnimator rotateAnimator = ObjectAnimator.ofFloat(myView, "rotation", 0f, 360f);
rotateAnimator.setDuration(1000);
rotateAnimator.setRepeatCount(ObjectAnimator.INFINITE);
rotateAnimator.setRepeatMode(ObjectAnimator.RESTART);
rotateAnimator.start();
You might have to import ObjectAnimator into the inline Java code
But I guess there might be an easier (pure b4a) solution somewhere on the forum that I have not seen