[#713] API to identify bundle resources (like images)#714
Conversation
`ImageIdentity` interface with surrounding types Signed-off-by: Alexander Fedorov <alexander.fedorov@arsysop.ru>
|
Hi @ruspl-afed. Just following up yesterday's discussion in the community call. I have a question: would it be possible with this approach to somehow "swap" images/icons in runtime? The reason I ask is because a student of mine is taking a look at how to switch (all) icons at runtime based in some property (let's call it "icon theming") and I thought the solution you propose here might be useful for that? Our initial idea was to provide the themes in bundles and to put (all) icons inside a folder with the name of the theme in there, something like: So if one could switch from Would that be doable with this approach? |
This approach suggest rather normalized way to work with image resources than direct solution for "swap" problem.
|
ImageIdentityinterface with surrounding typesFixes #713