1

I have an app, with many views, which have ImageViews and TextView etc. in them. They have to be exact the same with every app launch, so when the user exits, I save the data from the imageViews to a file (the path to the image), and I have to generate the textViews again, which is a long process. The app works perfectly, but a little slow. So my question is: Is it possible to save a View/Layout (eg. RelativeLayout), with everything in it (childs, and there childs) in a file. Somehow compressed maybe, and decompress when opened. That way some things that take long to programmatically generate every time, are going to be just read from a file. The process is supposedly going to take a lot less time. Any ideas? Maybe in future APIs?

4

0 回答 0