| Index: samples/todomvc/android/TodoMVC/app/src/main/java/com/google/dartino/todomvc/TodoListAdapter.java
|
| diff --git a/samples/todomvc/android/TodoMVC/app/src/main/java/com/google/dartino/todomvc/TodoListAdapter.java b/samples/todomvc/android/TodoMVC/app/src/main/java/com/google/dartino/todomvc/TodoListAdapter.java
|
| deleted file mode 100644
|
| index 877e71f67f0d2a3abc8b5efecfa40541fad6e704..0000000000000000000000000000000000000000
|
| --- a/samples/todomvc/android/TodoMVC/app/src/main/java/com/google/dartino/todomvc/TodoListAdapter.java
|
| +++ /dev/null
|
| @@ -1,31 +0,0 @@
|
| -// Copyright (c) 2015, the Dartino project authors. Please see the AUTHORS file
|
| -// for details. All rights reserved. Use of this source code is governed by a
|
| -// BSD-style license that can be found in the LICENSE.md file.
|
| -
|
| -package com.google.dartino.todomvc;
|
| -
|
| -import android.content.Context;
|
| -import android.view.LayoutInflater;
|
| -import android.view.View;
|
| -import android.view.ViewGroup;
|
| -import android.widget.ArrayAdapter;
|
| -
|
| -import java.util.List;
|
| -
|
| -public class TodoListAdapter extends ArrayAdapter<TodoItem> {
|
| - private LayoutInflater inflater;
|
| -
|
| - public TodoListAdapter(Context context, List<TodoItem> items) {
|
| - super(context, 0, items);
|
| - inflater = LayoutInflater.from(context);
|
| - }
|
| -
|
| - @Override
|
| - public View getView(int position, View convertView, ViewGroup parent) {
|
| - if (convertView == null) {
|
| - convertView = inflater.inflate(R.layout.todo_item, parent, false);
|
| - }
|
| - getItem(position).populateView(convertView);
|
| - return convertView;
|
| - }
|
| -}
|
|
|