Displaying image message from network
- Dominant language
- Swift
- Stars
- 4.6k
- Forks
- 588
- PR merge metrics
- No merged PRs in 30d
Description
i have gone through previous issues regarding same problem. But none of them clearly provides a way to do this. I have existing Model where I am adding Chatto for UI so I am able to create a message with placeholder but unable to figure out the best way to change the same after download.
Even if i update the model message and perform chatDataSourceDidUpdate(self) it's not reflected.
My another question is what's the best way to access MessageViewModel at run time and is it a good idea.
Contributor guide
Research direction
Start with the existing Model, the chatDataSourceDidUpdate(self) callback, and the MessageViewModel access path mentioned in the issue. Reproduce the placeholder-to-downloaded-image update and determine the supported runtime update flow; done means the image refreshes in the chat and the MessageViewModel access approach is clearly established.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100