Home | History | Annotate | Download | only in vo
      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  */
     16 package android.databinding.testapp.vo;
     17 
     18 import android.content.Context;
     19 import android.databinding.BaseObservable;
     20 import android.databinding.ObservableBoolean;
     21 import android.graphics.Outline;
     22 import android.media.MediaPlayer;
     23 import android.text.Editable;
     24 import android.view.ContextMenu;
     25 import android.view.DragEvent;
     26 import android.view.KeyEvent;
     27 import android.view.MenuItem;
     28 import android.view.MotionEvent;
     29 import android.view.View;
     30 import android.view.ViewStub;
     31 import android.view.WindowInsets;
     32 import android.view.animation.Animation;
     33 import android.widget.AbsListView;
     34 import android.widget.AdapterView;
     35 import android.widget.CalendarView;
     36 import android.widget.Chronometer;
     37 import android.widget.CompoundButton;
     38 import android.widget.ExpandableListView;
     39 import android.widget.NumberPicker;
     40 import android.widget.RadioGroup;
     41 import android.widget.RatingBar;
     42 import android.widget.SeekBar;
     43 import android.widget.TextView;
     44 import android.widget.TimePicker;
     45 
     46 import java.util.concurrent.atomic.AtomicInteger;
     47 
     48 public 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