Android SherlockFragmentActivity - Tab
<p>I use SherlockFragmentActivity and I have:</p>

<pre><code>public class TestActivity extends SherlockFragmentActivity {


    private static enum Tab {
        Test1("test1", TestOneFragment.class),
        Test2("test2", TestTwoFragment.class),
        private final String title;
        private final Class&lt;? extends Fragment&gt; clazz;

        private Tab(String title, Class&lt;? extends Fragment&gt; clazz) {
            this.title = title;
            this.clazz = clazz;
        }

        private String getTitle() {
            return title;
        }

        private Class&lt;? extends Fragment&gt; getFragmentClass() {
            return clazz;
        }
    }
</code></pre>

<p>It works fine ,because I have Test1 and Test2 in the same "package".</p>

<p>How add external "package" class ? When I import com.bla.blaa.BlaActivity;
I use this like this:</p>

<pre><code> private static enum Tab {
        Blabla("Blabla", BlaActivity.class),
        Test1("test1", TestOneFragment.class),
        Test2("test2", TestTwoFragment.class);
</code></pre>

<p>I have error: </p>

<pre><code>The constructor TestActivity.Tab(String, Class&lt;BlaActivity&gt;) is 
     undefined
</code></pre>
