【发布时间】:2013-04-24 03:10:11
【问题描述】:
我已经实现了一个自定义数组适配器,虽然应用程序运行良好,但在超级线路上时出现此错误:
未经检查地调用 ArrayAdapter(Context, int, T[]) 作为原始类型 Android.Widget.ArrayAdapter 的成员
这是我的自定义 ArrayAdapter:
class MyArrayAdapter extends ArrayAdapter {
public MyArrayAdapter(Context context, int textViewResourceId, Object[] objects)
{
super(context, textViewResourceId, objects);
}
.
.
.
super 突出显示为错误。
我该如何解决这个问题?
【问题讨论】:
-
我面临的确切问题。请考虑清除我在答案的评论部分中提出的疑问。
标签: android