Answer the question
In order to leave comments, you need to log in
Where and how to store textual information?
Hello!)
The question is that I'm going to write a training manual for the organization and, accordingly, there will be many chapters and text. Those. there will be a table with chapters and pictures, select the one you are interested in and get the full article. How and where to actually store the text for articles and pictures for them. What are the smart solutions?
The application is offline and it is necessary that after the first launch all the necessary information should fall into place. Pictures, as I understand it, should be stored in FileManager, instead of Assets, and pulled out from there? Or is there absolutely no difference if the table is large where to get pictures from? It’s just that there are noticeable delays when scrolling, again, is this due to the fact that the pictures are taken from Assets, or is there no difference?
If anyone can tell me I would be very grateful :)
Answer the question
In order to leave comments, you need to log in
if the pictures are all of the same resolution, then there is not much difference, it should work equally in assets, which is just in a folder. it is easier to deal with this experimentally (make 2 tables with each option and compare).
if pictures of different resolutions (@2x/@3x/etc), then only assets:
1. they are easier to manage in the project
2. when installing the application on the device, only pictures with the resolution for the user’s device will be downloaded, and not all.
I saw an implementation option using a SQLite database. The database contained all the content, incl. and links to pictures.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question