| Index: samples/todomvc/android/TodoMVC/app/src/main/java/com/google/fletch/todomvc/TodoListAdapter.java
|
| diff --git a/samples/todomvc/android/TodoMVC/app/src/main/java/com/google/fletch/todomvc/TodoListAdapter.java b/samples/todomvc/android/TodoMVC/app/src/main/java/com/google/fletch/todomvc/TodoListAdapter.java
|
| deleted file mode 100644
|
| index 2b25b4d4fa0f6b021a57f5b517ff8a30d66ee1d7..0000000000000000000000000000000000000000
|
| --- a/samples/todomvc/android/TodoMVC/app/src/main/java/com/google/fletch/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.fletch.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;
|
| - }
|
| -}
|
|
|