In version 8.3, how to implement the dynamic Add and remove of buttons in the list widget (lv_list)?

I want it to be able to delete in certain situations, so far I can only add, but delete can only be reinitialized!