Wesley Stark
Lurker
Hello,
I am building a social media app, and for the chat fragment I am using a cardView inside of a recylerView for each “post”. Basically like Twitter.
I need someone to point me in the right direction. I want the user to be able to make a post. The post could be text only, but I want the user to have the ability to add photos.
Here’s the question: I want the user to be able to post up to 4 images in a single post. How do I handle the layout file/files when the user only adds one pic, or two, etc… Do I need four different layouts? Is the a library/plugin that deals with this issue? I added a ROUGH draft of the layouts that are possible. Thanks for the help. I hope it wasn’t too confusing. Please lmk if I can clarify anything. Thank you.
I am building a social media app, and for the chat fragment I am using a cardView inside of a recylerView for each “post”. Basically like Twitter.
I need someone to point me in the right direction. I want the user to be able to make a post. The post could be text only, but I want the user to have the ability to add photos.
Here’s the question: I want the user to be able to post up to 4 images in a single post. How do I handle the layout file/files when the user only adds one pic, or two, etc… Do I need four different layouts? Is the a library/plugin that deals with this issue? I added a ROUGH draft of the layouts that are possible. Thanks for the help. I hope it wasn’t too confusing. Please lmk if I can clarify anything. Thank you.