19e20571da789c7d50650513c38d5a333b11b9fd3Yigit Boyar/* 29e20571da789c7d50650513c38d5a333b11b9fd3Yigit Boyar * Copyright (C) 2015 The Android Open Source Project 39e20571da789c7d50650513c38d5a333b11b9fd3Yigit Boyar * Licensed under the Apache License, Version 2.0 (the "License"); 49e20571da789c7d50650513c38d5a333b11b9fd3Yigit Boyar * you may not use this file except in compliance with the License. 59e20571da789c7d50650513c38d5a333b11b9fd3Yigit Boyar * You may obtain a copy of the License at 69e20571da789c7d50650513c38d5a333b11b9fd3Yigit Boyar * http://www.apache.org/licenses/LICENSE-2.0 79e20571da789c7d50650513c38d5a333b11b9fd3Yigit Boyar * Unless required by applicable law or agreed to in writing, software 89e20571da789c7d50650513c38d5a333b11b9fd3Yigit Boyar * distributed under the License is distributed on an "AS IS" BASIS, 99e20571da789c7d50650513c38d5a333b11b9fd3Yigit Boyar * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 109e20571da789c7d50650513c38d5a333b11b9fd3Yigit Boyar * See the License for the specific language governing permissions and 119e20571da789c7d50650513c38d5a333b11b9fd3Yigit Boyar * limitations under the License. 129e20571da789c7d50650513c38d5a333b11b9fd3Yigit Boyar */ 139e20571da789c7d50650513c38d5a333b11b9fd3Yigit Boyar 14fead9ca09b117136b35bc5bf137340a754f9edddGeorge Mountpackage android.databinding.testapp.vo; 159e20571da789c7d50650513c38d5a333b11b9fd3Yigit Boyar 16fead9ca09b117136b35bc5bf137340a754f9edddGeorge Mountimport android.databinding.BaseObservable; 179e20571da789c7d50650513c38d5a333b11b9fd3Yigit Boyar 189e20571da789c7d50650513c38d5a333b11b9fd3Yigit Boyarpublic class ObservableWithNotBindableFieldObject extends BaseObservable { 199e20571da789c7d50650513c38d5a333b11b9fd3Yigit Boyar private String data; 209e20571da789c7d50650513c38d5a333b11b9fd3Yigit Boyar public void update(String data) { 219e20571da789c7d50650513c38d5a333b11b9fd3Yigit Boyar this.data = data; 229e20571da789c7d50650513c38d5a333b11b9fd3Yigit Boyar notifyChange(); 239e20571da789c7d50650513c38d5a333b11b9fd3Yigit Boyar } 249e20571da789c7d50650513c38d5a333b11b9fd3Yigit Boyar 259e20571da789c7d50650513c38d5a333b11b9fd3Yigit Boyar public String getData() { 269e20571da789c7d50650513c38d5a333b11b9fd3Yigit Boyar return data; 279e20571da789c7d50650513c38d5a333b11b9fd3Yigit Boyar } 289e20571da789c7d50650513c38d5a333b11b9fd3Yigit Boyar} 29