• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Logical Flow of App

snowman24

Newbie
Is it possible to set an adapter for a recyclerview or gridview from a different activity or class other than the one the data is created. For example, while a splash screen is running, have data fetched from a server and put into arraylist, then call an activity thru intent where the data is parsed and the recyclerview adapter is set to the adapter? I have been able to create a recyclerview fetching data and parsing it, but it's all done in one activity. Was hoping to doing the fetching while app loads behind splash screen then depending on a condition, continue to an activity to parse and display or cancel out. I wanted to find out the answer before I started posting a lot of code that made no sense.
Thanks
 
Back
Top Bottom