Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use string instead of string[] in ImageCell #966

Open
bhavik-cast opened this issue Jun 14, 2024 · 0 comments
Open

Use string instead of string[] in ImageCell #966

bhavik-cast opened this issue Jun 14, 2024 · 0 comments

Comments

@bhavik-cast
Copy link

They way ImageCell is setup to support multiple images in a single cell, which makes sense. However since for a single image the value of the cell would be in array like [some-image-url] we are stuck due to how our DS's are setup.
As far as I understand, there isn't a way to make ImageCell support simple string urls instead of an array.

  1. Is there are simpler way to handle this case?
  2. We are avoiding the use of CustomCell as the data would be {} and it would require a lot of codebase change.

Thank you for the help .

P.S - Love the editor!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant