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

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

Issue 1659163007: Rename fletch -> dartino (Closed) Base URL: https://github.com/dartino/sdk.git@master
Patch Set: address comments Created 4 years, 11 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/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;
- }
-}

Powered by Google App Engine
This is Rietveld 408576698