Inner class in interface that must be implemented by the "implementor"
<p>I have this interface:</p>

<pre><code>public interface ISectionListItem {
    public int getLayoutId();
    public void setProps(View view, int position);  
}
</code></pre>

<p>But i want all the classes who implements this interface be forces to have a static class inside them. I thought of:</p>

<pre><code> public interface ISectionListItem {
    public int getLayoutId();
    public void setProps(View view, int position);

    static class ViewHolder {};
}
</code></pre>

<p>But that dosn't force the classes to "add unimplemented inner classes". Anyway to accomplish this? Is it even possible?</p>

<p>Thanks :)</p>
