title: Should i create separate activity to check user is logged in?
body: <p>I want to check user is logged in or not. If yes then show home screen, else show login Screen. </p>
  
  <p>Now I thought of two ways for doing it.</p>
  
  <p>1) make login activity as start up activity, check onCreate() user is logged in if yes then show  main screen.</p>
  
  <p>2) create separate activity for checking user is logged in or not.  </p>
  
  <p>if logged in then show main screen, otherwise show login screen.</p>
  
  <p>But i am confused which way i should do it?<br>
  Is there any standard way to do this?<br>
  Is there any advantage of one over the other?</p>
  
  <p>Any help would be appreciated.<br>
  Thanks In advance.</p>