ID must be unique error (Dynamic Component)

One thing you can do, is optimize the amount of blocks you use first. I’ve created a semi-optimized version based on your dataset (AIS included).

Outcome

Of course, you will have to change values based on whatever database you’re getting these comments from. By the way, I recommend following the Material Design guidelines to make your app cleaner. I also aligned the subject and time to the right so that not everything was clustered together and made some other slight design changes.


Dynamic Components: v2.2.2 unreleased [GitHub] |com.yusufcihan.DynamicComponents.aix (29.4 KB)

Screen:SemiOptimized.ais (8.8 KB)

Template:optimized.txt (5.0 KB)
This will appear as a .txt file, however it is formatted to be .json for the content, just copy and paste the content from inside, to the Scheme’s (block) template parameter if you don’t download the AIS!

5 Likes