Async Task in Ui Thread Not Working!

I am trying to create dynamic components using async task but it shows async task cannot create views in main thread so i looked up Resource and found to use ( runOnUiThread ) function but how to to apply this in kodular.

I am using async task because i am creating more than 50 Dynamic cards containing images and text so my app is frizzing.

Please Help !!!

You can use Colintree Scroll Handler or ScrollHandler extension so, when VSA reach bottom then load more data.

Ok i will try

An example can be this :

LoadWhenReachBottom.aia (275.5 KB)

Thanks a lot for the example :blush:

1 Like