 <p>For this you need to find the constructor and invoke it.</p> <pre><code>Constructor[] ctors = myClass.getDeclaredConstructors(); Constructor ctor = null; for (int i = 0; i &lt; ctors.length; i++) { if (ctor.getGenericParameterTypes().length == 2) { ctor = ctors[i]; break; } } if (ctor != null) { return ctor.newInstance(view, getActivity()); } </code></pre>