I need to store an ArrayList that will fetch data from Database, i am thinking of declaring that ArrayList in class that is subclass of android.app.Application class as i would be needing this frequently for search, sort etc purpose all over in my application.
1. It would be good approach to create get the Database instance in Application subclass.
2. Storing a list in the Application subclass.
I am not sure it is correct approach, i want to know what would be the drawbacks of this approach. Suggest if some other approach can be used.