summaryrefslogtreecommitdiff
path: root/baseLibrary
diff options
context:
space:
mode:
authorGeorge Mount <mount@google.com>2015-03-04 11:27:20 -0800
committerGeorge Mount <mount@google.com>2015-03-04 14:12:06 -0800
commit00da715547ee7d5d38a3b8576090ca427a94daa5 (patch)
treeee2d0e7a708601fb5846799073067d02be6cd6a8 /baseLibrary
parent8a865791a0f786c351c286b8e71565fb2b050e55 (diff)
downloaddata-binding-00da715547ee7d5d38a3b8576090ca427a94daa5.tar.gz
Don't require IDs for most bound views.
Diffstat (limited to 'baseLibrary')
-rw-r--r--baseLibrary/src/main/java/android/binding/Untaggable.java24
1 files changed, 24 insertions, 0 deletions
diff --git a/baseLibrary/src/main/java/android/binding/Untaggable.java b/baseLibrary/src/main/java/android/binding/Untaggable.java
new file mode 100644
index 00000000..0974e5b2
--- /dev/null
+++ b/baseLibrary/src/main/java/android/binding/Untaggable.java
@@ -0,0 +1,24 @@
+/*
+ * Copyright (C) 2015 The Android Open Source Project
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package android.binding;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Target;
+
+@Target({ElementType.TYPE})
+public @interface Untaggable {
+ String[] value();
+}