How to set roller animation time/speed?

I am trying to change the default roller animation time or speed. In lgvl v7 I could use lv_roller_set_anim_time(roller, anim_time) but this doesn’t seem to work in v8+

How do I change the roller speed/time?

Use

uint32_t anim_time=1000; // anim_time in  ms
lv_style_selector_t style_selector=LV_PART_MAIN;
lv_obj_set_style_anim_time(ui_Roller, anim_time, style_selector);

You can look up the style_selector in Parts and Styles section of the documentation or in SLS-UI.