I’m making an app that needs to be able to read an RSS feed offline. I’ve been told to get it done the most efficient way, which is either by storing the feed in a SQLite database or by storing the feed as an xml file in internal storage. Which would be more efficient, and why?
Share
I have an application that store rss feeds in a SQLite database and it’s ok. Consider that if you save the .xml file you have to parse it every time for example when you want to show your rss feed into a list.
If you have already stored the feeds inside the database you can simply build a cursor adapter to adapt the data inside the database to your list, without the parsing (that it’s not the simplest and nicest thing in the world).