Comments / Forum area

Hello fellow app develoment people!

I just have one small question, how do i put a comment from diferent users under a picture?

Thank you!

If you could describe your use case a little more, I may be able to come up with a better solution. But if all you are trying to do is have pictures that people can comment on, like on instagram, I would create a Thing in the database that has a photo field and a list of texts. Then I would put a repeating group under the photo where you can display the list of texts as comments. This is the simplest use case imaginable though. Better ways to do it would be to have a separate table for comments (which can each have their own lists of comments, and you could have ways of expanding and collapsing the lists of comments for instance). If you provide a little more info, I could work on coming up with a quick example later today. Really its up to you to determine what level of complexity you would like to have in your commenting system.

This topic was automatically closed after 70 days. New replies are no longer allowed.