I need to display a single list, ordered by date which contains different types of data, images, video and whatnot.
I guess you could have one separate table for each type and the use something like FULL OUTER JOIN (simulated as sqlite doesn’t support it) and sort on date. But this would be complicated because I still need to have unique IDs across all tables.
Maybe having a master list which has ID and date, and then JOIN in the types tables? But how bad is the performance of this using sqlite? I really like to avoid having a super table which contains columns all the combined types could ever need.
And ideas?
You should try to build and see what performance hit you get.
SQLite is really fast engine, on mobile devices the flash memory is slower. But even with ten-thousands of records you get fast queries.
You shouldn’t monkey with the performance hit until you don’t have it.