How to use ButterKnife inside adapter
<p>I would like to use ButterKnife to bind my views inside listView adpater.</p>

<p>I tried this, but i can not simply use my "spinner" var.</p>

<pre><code>public class WarmSpinnerAdapter extends ArrayAdapter&lt;Warm&gt; {

    Context context;

    public WarmSpinnerAdapter(Context context, int resource, Warm[] objects) {
        super(context, resource, objects);
    }

    @Override
    public View getView(int position, View convertView, ViewGroup parent) {
        View v = LayoutInflater.from(context).inflate(R.layout.item_spinner, null);


        return v;
    }

    @OnClick(R.id.spinner)
    public void onClick() {
        //open dialog and select
    }

    static class ViewHolder {

        @BindView(R.id.spinner)
        MyTextView spinner;

        ViewHolder(View view) {
            ButterKnife.bind(this, view);
        }
    }
}
</code></pre>

<p>Any ideas please?</p>