class for Android Views
<pre><code>public class myView(){

AutoCompleteTextView textView;

     public myView(COUNTRIES){

             AutoCompleteTextView textView = new AutoCompleteTextView(this);

        ArrayAdapter&lt;String&gt; adapter = new ArrayAdapter&lt;String&gt;(this, R.layout.list_item, COUNTRIES);
        textView.setAdapter(adapter);

    }

    public AutoCompleteTextView getAutoView(){
         return textView;
    }
}
</code></pre>

<p>I put AutoCompleteTextView in a seperate class and I tried to use it making a object of this class. But this didn't work, Can u give me an idea how can I make separate class for some Views in android.  </p>
