title: No view found for id 0x7f0a002f (id/container) for fragment
body: <p>In my <code>FragementActivity</code>(homescreen), I have called a <code>Category_fragment</code> and in my fragmnet a view pager is used which has <code>FragmentPagerAdapter</code>, so basically I have nested fragments, and I want to go to another fragment, also I have used <code>getChildFragmentManager()</code> in place of <code>getFragmentManager()</code>, error is basically my container/view from homescreen is unable to inflate in nested fragment... please help.</p>
  
  <p>Below is my code:</p>
  
  <hr>
  
  <p>1st fragment:</p>
  
  <pre><code>FragmentManager manager = getChildFragmentManager();
  adapter = new Category_PagerAdapter(getActivity(), manager,arrayList_category);
  pager.setAdapter(adapter);
  adapter.notifyDataSetChanged();
  </code></pre>
  
  <p>FragmentPagerAdapter:</p>
  
  <pre><code>@Override
  public Fragment getItem(int position) {
      try {
          if (position == Category_Screen.FIRST_PAGE)
              scale = Category_Screen.BIG_SCALE;
          else
              scale = Category_Screen.SMALL_SCALE;
              position = position % arrayList_category.size();
      } catch (Exception e) {
          // TODO: handle exception
          e.printStackTrace();
      }
      return Carousal_First_screen.newInstance(context, position, scale,arrayList_category);
  }
  </code></pre>
  
  <p>Nested fragment code:</p>
  
  <pre><code>iv.setOnClickListener(new OnClickListener() {
      @Override
      public void onClick(View v) {
          // TODO Auto-generated method stub
          Bundle bundle = new Bundle();
          bundle.putString("id", category_id);
          Fragment fragment = new Category_Map();
          fragment.setArguments(bundle);
          fragmentManager = getChildFragmentManager();
  
          fragmentManager.beginTransaction().replace(R.id.container, fragment).commit();
      }
  });
  </code></pre>