1a128d1c99ea98bb48c45d648906652e3d618d513George Mount/* 2a128d1c99ea98bb48c45d648906652e3d618d513George Mount * Copyright (C) 2015 The Android Open Source Project 3a128d1c99ea98bb48c45d648906652e3d618d513George Mount * 4a128d1c99ea98bb48c45d648906652e3d618d513George Mount * Licensed under the Apache License, Version 2.0 (the "License"); 5a128d1c99ea98bb48c45d648906652e3d618d513George Mount * you may not use this file except in compliance with the License. 6a128d1c99ea98bb48c45d648906652e3d618d513George Mount * You may obtain a copy of the License at 7a128d1c99ea98bb48c45d648906652e3d618d513George Mount * 8a128d1c99ea98bb48c45d648906652e3d618d513George Mount * http://www.apache.org/licenses/LICENSE-2.0 9a128d1c99ea98bb48c45d648906652e3d618d513George Mount * 10a128d1c99ea98bb48c45d648906652e3d618d513George Mount * Unless required by applicable law or agreed to in writing, software 11a128d1c99ea98bb48c45d648906652e3d618d513George Mount * distributed under the License is distributed on an "AS IS" BASIS, 12a128d1c99ea98bb48c45d648906652e3d618d513George Mount * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13a128d1c99ea98bb48c45d648906652e3d618d513George Mount * See the License for the specific language governing permissions and 14a128d1c99ea98bb48c45d648906652e3d618d513George Mount * limitations under the License. 15a128d1c99ea98bb48c45d648906652e3d618d513George Mount */ 16a128d1c99ea98bb48c45d648906652e3d618d513George Mountpackage android.databinding.testapp.adapter; 17a128d1c99ea98bb48c45d648906652e3d618d513George Mount 18a128d1c99ea98bb48c45d648906652e3d618d513George Mountimport android.databinding.BindingAdapter; 19a128d1c99ea98bb48c45d648906652e3d618d513George Mountimport android.view.View; 20a128d1c99ea98bb48c45d648906652e3d618d513George Mount 21a128d1c99ea98bb48c45d648906652e3d618d513George Mountpublic class NameClashAdapter { 22a128d1c99ea98bb48c45d648906652e3d618d513George Mount @BindingAdapter("gabble-babble") 23a128d1c99ea98bb48c45d648906652e3d618d513George Mount public void setGabbleBabble(View view, String value) { 24a128d1c99ea98bb48c45d648906652e3d618d513George Mount } 25a128d1c99ea98bb48c45d648906652e3d618d513George Mount 26a128d1c99ea98bb48c45d648906652e3d618d513George Mount public static class MyAdapter { 27a128d1c99ea98bb48c45d648906652e3d618d513George Mount @BindingAdapter({"gabble-babble-flabble", "booble-beeble-bee"}) 28a128d1c99ea98bb48c45d648906652e3d618d513George Mount public void setGabbleBabbleFlabble(View view, String value, String value2) { 29a128d1c99ea98bb48c45d648906652e3d618d513George Mount } 30a128d1c99ea98bb48c45d648906652e3d618d513George Mount } 31a128d1c99ea98bb48c45d648906652e3d618d513George Mount} 32