title: How to load data to the layouts in background to load the activity faster?
body: <p>In my app I have horizontally scroll with nested Linear layouts and based upon the button (5 buttons) pressed by user I need to show different contents in that row (texts, images, stickers, etc).I decided to load all contents to these layouts in onCreate itself and based upon on the button clicked I ll make visible the desired layout and hide the remaining. This is working perfectly but taking 3 seconds to load the activity. when I tried to load these contents in Threads or Asynctask the activity is loading faster but the contents are loading only after 15 seconds. I don't know what else to try. Please guide me what else I can try. Thanks in advance.</p>