title: How to optimize Roboguice apps to start faster?
body: <h2>Background</h2>
  
  <p>I have to use Roboguice for an app, which handles a lot of injections on many classes.</p>
  
  <p>The app also has a splash screen class which extends from RoboSplashActivity .</p>
  
  <h2>The problem</h2>
  
  <p>As the app got more and more complex, more time was spent on the splash screen activity, and it even shows its content layout after a while , meaning the user sees a blank screen about 1-2 seconds before there is even a splash image.</p>
  
  <h2>What I've tried</h2>
  
  <p>At the beginning I thought it was because the splash image was too have (since it had multiple layers of images) so I tried setting a simple color. Turns out it's not the reason.</p>
  
  <p>Then I thought that it might be that the app takes a lot of space, so I created a totally new project with the same size, and it worked fine. so a large app isn't the reason for slow start up.</p>
  
  <p>Then I thought that it's the RoboSplashActivity's fault, so I've replaced it with a new activity (extending Activity instead ) that only shows a solid color background. the background showed after a while , almost the same time as using RoboSplashActivity . Still not the reason for the blank screen.</p>
  
  <p>Now what I think is that it's Roboguice's fault, and that I should somehow delay its initialization to the time that something is shown on the screen, so that at least the user will see something while it's loading.</p>
  
  <h2>The question</h2>
  
  <p>Is it possible to optimize Roboguice to have the minimal start time ?</p>
  
  <p>Maybe delay its initialization that is done on other files ?</p>