nicolas2k / google-glass-api

Automatically exported from code.google.com/p/google-glass-api
1 stars 0 forks source link

static card mutation following reboot and using same file names #380

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.create a static card with a jpg reference on disk
2.create another card with the same name jpg file (but different file contents)
3.reboot

What is the expected output? What do you see instead? If a cars is created I 
would expect the content to be immutable, however after the reboot the image on 
all the previous cards are that of the most recent file contents

What version of the product are you using? On what operating system?
Xe12

Please provide any additional information below.

Original issue reported on code.google.com by quitecon...@gmail.com on 26 Jan 2014 at 2:29

GoogleCodeExporter commented 8 years ago
This is working as intended. The card does not store a copy of the image -- it 
merely references the file at the specified URI, so anything that would cause 
the ImageView to reload its contents will reload the most recent contents from 
the file.

You will need to cache your images in separate files to have them show up as 
you expect in your static cards.

Original comment by allev...@google.com on 27 Jan 2014 at 4:12