It’s not a good practice for sure!
You have two options in this case.
- If you would be downloading those strings every time you run a fresh app then it would be better to keep that list in a
Singleton
class. - Or if you just want to download the first time and then probably not much again in future then definitely save it in the database.
4
solved keeping a public static arraylist in a activity in android, is a good practice?