How to use for each uielement activity?

@Prabhakaran_Elango

please dont create multiple topics

please try the method below

cheers