Java 类org.androidannotations.annotations.TextChange 实例源码

项目:ShoppingMall    文件:ReleasedRentFragment.java   
/**
 * 单元号 
 */
// @TextChange(R.id.rent_unit_no)
// public void unitNumberChange() {
// mRentUnitNumber = mRentUnitNo.getText().toString();
// //trim heading zero
// while (mRentBuilding.length() > 0) {
// if (mRentUnitNumber.startsWith("0")) {
// mRentUnitNumber = mRentUnitNumber.substring(1);
// } else {
// break;
// }
// }
//
// ManyiAnalysis.onEvent(this.getActivity(),
// "HouseNumberOnRentPublishClick");
// }
//

@TextChange(R.id.rent_room_no)
public void roomNumber() {
    mRentRoomNumber = mRentRoomNO.getText().toString();
    ManyiAnalysis.onEvent(this.getActivity(),"HouseRoomNumberOnRentPublishClick");
}
项目:secure_photo    文件:StartActivity.java   
@TextChange
    void passwordInput(CharSequence newText, int start, int before, int count) {
        if (UserHelper.isFirstLogin()) return;

        Log.d(LOG_TAG, "onTextChanged: " + newText);

        validate(newText);
//        if (UserHelper.authenticate("userName", newText.toString())) {// todo manage with user name
//
//            passwordInput.setActivated(false);
//
//            UserHelper.setIsLogged(true);
//
//            MainActivity.start(this);
//        }
    }
项目:ShoppingMall    文件:ReleasedRentFragment.java   
/**
 * 单元
 */
@TextChange(R.id.rent_unit_no)
public void unitNoChange() {
    mRentUnitNumber = mRentUnitNo.getText().toString();
    ManyiAnalysis.onEvent(this.getActivity(),
            "HouseNumberOnRentPublishClick");
}
项目:ShoppingMall    文件:ReleasedSellFragment.java   
/**
 * 室号
 */
@TextChange(R.id.sell_room_no)
public void roomNumber() {
    mSellRoomNumber = mSellRoomNO.getText().toString();
    ManyiAnalysis.onEvent(this.getActivity(),
            "HouseRoomNumberOnSellPublishClick");
}
项目:Local-GSM-Backend    文件:AreaListActivity.java   
@TextChange(R.id.search)
@AfterViews
protected void updateAdapterContent() {
    final String term = search.getText().toString().toLowerCase();
    final List<Area> filtered = new ArrayList<>();

    for (Area area : getAreas()) {
        if (area.label().toLowerCase().contains(term)) {
            filtered.add(area);
        }
    }

    adapter.setAreas(filtered);
}
项目:android-modules    文件:QueryWatcherSubmodule.java   
@TextChange(R.id.edit_query)
void onQueryChanged(CharSequence query) {
    bus.event(new InputChanged(workFragment.name, TextUtils.isEmpty(query)));
}
项目:android-modules    文件:NumberWatcherSubmodule.java   
@TextChange(R.id.edit_number)
void onNumberChanged(CharSequence number) {
    bus.event(new InputChanged(workFragment.name, TextUtils.isEmpty(number)));
}
项目:ShoppingMall    文件:ReleasedRentFragment.java   
/**
 * 栋座
 */
@TextChange(R.id.rent_seat_number)
public void seatNumberChange() {
    mRentBuilding = mRentSeatNumber.getText().toString();
    ManyiAnalysis.onEvent(this.getActivity(),"HouseNumberOnRentPublishClick");
}
项目:ShoppingMall    文件:ReleasedSellFragment.java   
@TextChange(R.id.sell_seat_number)
public void seatNumberChange() {
    mSellBuilding = mSellSeatNumber.getText().toString();
    ManyiAnalysis.onEvent(this.getActivity(),
            "HouseNumberOnRentPublishClick");
}
项目:ShoppingMall    文件:ReleasedSellFragment.java   
@TextChange(R.id.sell_unit_no)
public void sellNotUnits() {
    mSellUnitNumber = mUtilNot.getText().toString();
    ManyiAnalysis.onEvent(this.getActivity(),
            "HouseNumberOnRentPublishClick");
}
项目:secure_photo    文件:ChangePasswordFragment.java   
@TextChange
void oldPassword(CharSequence newText, int start, int before, int count) {
    oldPasswordValid = count > 0;

    validate(oldPassword);
}
项目:secure_photo    文件:ChangePasswordFragment.java   
@TextChange
void newPassword(CharSequence newText, int start, int before, int count) {
    newPasswordValid = count > 0;

    validate(newPassword);
}
项目:secure_photo    文件:ChangePasswordFragment.java   
@TextChange
void confirmNewPassword(CharSequence newText, int start, int before, int count) {
    confirmNewPasswordValid = count > 0;

    validate(confirmNewPassword);
}
项目:selfoss-android    文件:ConfigUrlView.java   
@TextChange(R.id.url)
protected void onUrlChanged() {
    urlEditText.setError(null);
}