I'm trying to create my own ArrayAdapter. I'm missing something. I
cannot get the code to compile. The documentation says I need to
override getView. But the compiler isn't seeing getView as a method
defined in the super class. What am I missing?
import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.widget.ArrayAdapter;
import android.widget.TextView;
public class Stock
{
// etc....
}
public class StockAdapter extends ArrayAdapter<Stock>
{
// ------------------------------------------------------------
//
public StockAdapter(Context context, int textViewResourceId, Stock[]
objects)
{
super(context, textViewResourceId, objects);
}
@Override
public View getView(int position, View convertView, ViewGroup
parent)
{
}
}
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en