title: ActionBarSherlock Type mAdded cannot be resolved or is not a field Watson.java
body: <p>I spended a day looking for solution for this error
  I downloaded <a href="http://ActionBarSherlock.com" rel="nofollow">ActionBarSherlock</a> and import library to eclipse
  I had fixed all errors and this is the last one
  I Checked all layouts there is no xml error, Cleaned workspace and restarted eclipse</p>
  
  <p>this is error descrition :</p>
  
  <blockquote>
    <p>Description   Resource Path Location Type mAdded cannot be resolved or
    is not a
    field Watson.java /abs_library/src/android/support/v4/app line 59 Java
    Problem</p>
  </blockquote>
  
  <p>The code</p>
  
  <pre><code>if (mFragments.mAdded != null) {
                  for (int i = 0; i &lt; mFragments.mAdded.size(); i++) {
                      Fragment f = mFragments.mAdded.get(i);
                      if (f != null &amp;&amp; !f.mHidden &amp;&amp; f.mHasMenu &amp;&amp; f.mMenuVisible
                              &amp;&amp; f instanceof OnCreateOptionsMenuListener) {
                          show = true;
                          ((OnCreateOptionsMenuListener) f).onCreateOptionsMenu(
                                  menu, inflater);
                          if (newMenus == null) {
                              newMenus = new ArrayList&lt;Fragment&gt;();
                          }
                          newMenus.add(f);
                      }
                  }
              }
  </code></pre>
  
  <p>Thank you</p>