ObservableList.java revision fead9ca09b117136b35bc5bf137340a754f9eddd
15cd681c345db8f606d7d5a8662e20e059f21a86cGeorge Mount/* 25cd681c345db8f606d7d5a8662e20e059f21a86cGeorge Mount * Copyright (C) 2015 The Android Open Source Project 35cd681c345db8f606d7d5a8662e20e059f21a86cGeorge Mount * 45cd681c345db8f606d7d5a8662e20e059f21a86cGeorge Mount * Licensed under the Apache License, Version 2.0 (the "License"); 55cd681c345db8f606d7d5a8662e20e059f21a86cGeorge Mount * you may not use this file except in compliance with the License. 65cd681c345db8f606d7d5a8662e20e059f21a86cGeorge Mount * You may obtain a copy of the License at 75cd681c345db8f606d7d5a8662e20e059f21a86cGeorge Mount * 85cd681c345db8f606d7d5a8662e20e059f21a86cGeorge Mount * http://www.apache.org/licenses/LICENSE-2.0 95cd681c345db8f606d7d5a8662e20e059f21a86cGeorge Mount * 105cd681c345db8f606d7d5a8662e20e059f21a86cGeorge Mount * Unless required by applicable law or agreed to in writing, software 115cd681c345db8f606d7d5a8662e20e059f21a86cGeorge Mount * distributed under the License is distributed on an "AS IS" BASIS, 125cd681c345db8f606d7d5a8662e20e059f21a86cGeorge Mount * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 135cd681c345db8f606d7d5a8662e20e059f21a86cGeorge Mount * See the License for the specific language governing permissions and 145cd681c345db8f606d7d5a8662e20e059f21a86cGeorge Mount * limitations under the License. 155cd681c345db8f606d7d5a8662e20e059f21a86cGeorge Mount */ 16fead9ca09b117136b35bc5bf137340a754f9edddGeorge Mountpackage android.databinding; 175cd681c345db8f606d7d5a8662e20e059f21a86cGeorge Mount 185cd681c345db8f606d7d5a8662e20e059f21a86cGeorge Mountimport java.util.List; 195cd681c345db8f606d7d5a8662e20e059f21a86cGeorge Mount 205cd681c345db8f606d7d5a8662e20e059f21a86cGeorge Mountpublic interface ObservableList<T> extends List<T> { 215cd681c345db8f606d7d5a8662e20e059f21a86cGeorge Mount void addOnListChangedListener(OnListChangedListener listener); 225cd681c345db8f606d7d5a8662e20e059f21a86cGeorge Mount void removeOnListChangedListener(OnListChangedListener listener); 235cd681c345db8f606d7d5a8662e20e059f21a86cGeorge Mount} 24