Async Blocks? Optimize Loops

Hi,
I have a Loop Function Which causes lags and ANR to trigger. Do anyone Know how to Optimize these blocks?