1/*
2 * Copyright (C) 2015 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 *      http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16package android.databinding.testapp.vo;
17
18import android.content.Context;
19import android.databinding.BaseObservable;
20import android.databinding.ObservableBoolean;
21import android.graphics.Outline;
22import android.media.MediaPlayer;
23import android.text.Editable;
24import android.view.ContextMenu;
25import android.view.DragEvent;
26import android.view.KeyEvent;
27import android.view.MenuItem;
28import android.view.MotionEvent;
29import android.view.View;
30import android.view.ViewStub;
31import android.view.WindowInsets;
32import android.view.animation.Animation;
33import android.widget.AbsListView;
34import android.widget.AdapterView;
35import android.widget.CalendarView;
36import android.widget.Chronometer;
37import android.widget.CompoundButton;
38import android.widget.ExpandableListView;
39import android.widget.NumberPicker;
40import android.widget.RadioGroup;
41import android.widget.RatingBar;
42import android.widget.SeekBar;
43import android.widget.TextView;
44import android.widget.TimePicker;
45
46import java.util.concurrent.atomic.AtomicInteger;
47
48public interface CallbackBindingObject {
49    void onClick();
50    void onClick(View view);
51    boolean onLongClick();
52    boolean onLongClick(View view);
53    boolean onClickWithParam(NotBindableVo other);
54    boolean onClickWithParam(View view, NotBindableVo other);
55    boolean onLongClickWithParam(NotBindableVo other);
56    boolean onLongClickWithParam(View view, NotBindableVo other);
57    void onScrolled();
58    void onProgressChanged(SeekBar seekBar, int progress, boolean fromUser);
59
60    void setVisible(int visible);
61    boolean onFocusable();
62    boolean onNotFocusable();
63
64    void beforeTextChanged(CharSequence s, int start, int count, int after);
65
66    void onTextChanged(CharSequence s, int start, int before, int count);
67
68    void beforeTextChanged();
69    void onTextChanged();
70}
71