Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(959)

Unified Diff: samples/todomvc/android/TodoMVC/app/src/main/java/com/google/dartino/todomvc/TodoListAdapter.java

Issue 2035023003: Remove service-compiler related code. (Closed) Base URL: git@github.com:dartino/sdk.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
- }
-}

Powered by Google App Engine
This is Rietveld 408576698