ApiDemos/src/com/example/android/apis/accessibility/TaskListView.java in gametel-0.1 vs ApiDemos/src/com/example/android/apis/accessibility/TaskListView.java in gametel-0.2
- old
+ new
@@ -73,19 +73,17 @@
mContext = context;
mLabels = labels;
mCheckboxes = checkboxes;
}
- @Override
public int getCount() {
return mLabels.length;
}
/** Expands the views for individual list entries, and sets content descriptions for use by the
* TaskBackAccessibilityService.
*/
- @Override
public View getView(int position, View convertView, ViewGroup parent) {
if(convertView == null) {
LayoutInflater inflater = LayoutInflater.from(mContext);
convertView = inflater.inflate(R.layout.tasklist_row, parent, false);
}
@@ -105,15 +103,13 @@
convertView.setTag(position);
return convertView;
}
- @Override
public Object getItem(int position) {
return mLabels[position];
}
- @Override
public long getItemId(int position) {
return position;
}
}