Some questions Tablayout, onbackpressed, efficiency
<p>I'm noob and later read so much and  do tests on my app, I have some questions. I hope that somebody can help me.</p>

<p>I will put yourselves on context: I've an app with a tabLayout structure, with 5 tabs (one activity for each tab). In the first tab i've a very simple RSS activity, in other a static info and a button call to google maps activity, other an image with a custom touchlistener to drag&amp;drop and make zoom etc..</p>

<p>As I've been reading when I start my app on a MainActivity and I create my tabHost,  he create the 5 Activities. But it takes too long in my view. Then:</p>

<p>1.<strong>How to Load efficiently these activities without delay? I've been reading about it,  a posible solution are load these activities with AsincThreads?? but how?Don't know how to apply this solution to my tabLayout</strong></p>

<p>I try make my code as efficient as possible, but the delay on create in main activity continues.</p>

<p>In my path to create an efficient app, I release memory , destroy unused aditional activities etc. </p>

<p>But, i have other issue when you press the button onback (physical button of phones).
My first tab, is a RSS on listview, very simple. When I press one  of these news of the RSS, my  app start other activity called RSSNew, and i want that when the users have read the News and press back button, this activity finished and return it to the RSS tab.</p>

<p>After read so much, I could implement this funcionality with this code:</p>

<p>RSS activity (TAB 1):</p>

<pre><code>/* OnClick Element of List */
list.setOnItemClickListener(new OnItemClickListener() {
    public void onItemClick(AdapterView&lt;?&gt; parent, View view,
            int position, long id) {

        /* Concrete New */
        Intent rssnew = new Intent(view.getContext(), RSSNew.class);                

        .................

        /* Start Activity */
        startActivity(rssnew);
    }
});
</code></pre>

<p>RSSNew activity:</p>

<pre><code>@Override
public void onBackPressed() {
    Intent backIntent = new Intent();
    backIntent.setClass(getApplicationContext(),MainActivity.class);
    backIntent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
    startActivity(backIntent);
    finish();
    return;
}
</code></pre>

<p>When, I know that when on tabs has changed, the last activity is on paused state of his Activity life. Therefore, I have some questions:</p>

<p>2.<strong>with this method, is re-created an MainActivity and load the 5 activities?</strong><br>
 3.<strong>With this method, I return to the main activity.
    But I want to return to previous activity retaining the status of
    this. How I do this?</strong><br>
 4.<strong>I am realizing that this tab system is
    very inefficient. Am I wrong? or did I not know use them properly?</strong></p>
