Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

Best Practice to clean up temp file

$
0
0

Hi all, I found some library only accept a file path parameter, for example this photo browser:
https://github.com/stormlion227/PhotoBrowser.Forms

Currently I do the following to read the file:

Which lacks the mechanism to clean up the file. I've read article said that the cache file may stay in the app directory if the app quit unexpectedly.
I would like to know the best practice for how to store/clean up temporary file, or is there a way to do it without saving it to a file?

Thanks!


Viewing all articles
Browse latest Browse all 77050

Trending Articles