本文整理汇总了Java中org.androidannotations.annotations.TextChange类的典型用法代码示例。如果您正苦于以下问题:Java TextChange类的具体用法?Java TextChange怎么用?Java TextChange使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
TextChange类属于org.androidannotations.annotations包,在下文中一共展示了TextChange类的14个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。
示例1: roomNumber
import org.androidannotations.annotations.TextChange; //导入依赖的package包/类
/**
* 单元号
*/
// @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");
}
开发者ID:bestarandyan,项目名称:ShoppingMall,代码行数:26,代码来源:ReleasedRentFragment.java
示例2: passwordInput
import org.androidannotations.annotations.TextChange; //导入依赖的package包/类
@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);
// }
}
开发者ID:alexdzeshko,项目名称:secure_photo,代码行数:17,代码来源:StartActivity.java
示例3: unitNoChange
import org.androidannotations.annotations.TextChange; //导入依赖的package包/类
/**
* 单元
*/
@TextChange(R.id.rent_unit_no)
public void unitNoChange() {
mRentUnitNumber = mRentUnitNo.getText().toString();
ManyiAnalysis.onEvent(this.getActivity(),
"HouseNumberOnRentPublishClick");
}
开发者ID:bestarandyan,项目名称:ShoppingMall,代码行数:10,代码来源:ReleasedRentFragment.java
示例4: roomNumber
import org.androidannotations.annotations.TextChange; //导入依赖的package包/类
/**
* 室号
*/
@TextChange(R.id.sell_room_no)
public void roomNumber() {
mSellRoomNumber = mSellRoomNO.getText().toString();
ManyiAnalysis.onEvent(this.getActivity(),
"HouseRoomNumberOnSellPublishClick");
}
开发者ID:bestarandyan,项目名称:ShoppingMall,代码行数:10,代码来源:ReleasedSellFragment.java
示例5: updateAdapterContent
import org.androidannotations.annotations.TextChange; //导入依赖的package包/类
@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);
}
开发者ID:n76,项目名称:Local-GSM-Backend,代码行数:15,代码来源:AreaListActivity.java
示例6: onQueryChanged
import org.androidannotations.annotations.TextChange; //导入依赖的package包/类
@TextChange(R.id.edit_query)
void onQueryChanged(CharSequence query) {
bus.event(new InputChanged(workFragment.name, TextUtils.isEmpty(query)));
}
开发者ID:netimen,项目名称:android-modules,代码行数:5,代码来源:QueryWatcherSubmodule.java
示例7: onNumberChanged
import org.androidannotations.annotations.TextChange; //导入依赖的package包/类
@TextChange(R.id.edit_number)
void onNumberChanged(CharSequence number) {
bus.event(new InputChanged(workFragment.name, TextUtils.isEmpty(number)));
}
开发者ID:netimen,项目名称:android-modules,代码行数:5,代码来源:NumberWatcherSubmodule.java
示例8: seatNumberChange
import org.androidannotations.annotations.TextChange; //导入依赖的package包/类
/**
* 栋座
*/
@TextChange(R.id.rent_seat_number)
public void seatNumberChange() {
mRentBuilding = mRentSeatNumber.getText().toString();
ManyiAnalysis.onEvent(this.getActivity(),"HouseNumberOnRentPublishClick");
}
开发者ID:bestarandyan,项目名称:ShoppingMall,代码行数:9,代码来源:ReleasedRentFragment.java
示例9: seatNumberChange
import org.androidannotations.annotations.TextChange; //导入依赖的package包/类
@TextChange(R.id.sell_seat_number)
public void seatNumberChange() {
mSellBuilding = mSellSeatNumber.getText().toString();
ManyiAnalysis.onEvent(this.getActivity(),
"HouseNumberOnRentPublishClick");
}
开发者ID:bestarandyan,项目名称:ShoppingMall,代码行数:7,代码来源:ReleasedSellFragment.java
示例10: sellNotUnits
import org.androidannotations.annotations.TextChange; //导入依赖的package包/类
@TextChange(R.id.sell_unit_no)
public void sellNotUnits() {
mSellUnitNumber = mUtilNot.getText().toString();
ManyiAnalysis.onEvent(this.getActivity(),
"HouseNumberOnRentPublishClick");
}
开发者ID:bestarandyan,项目名称:ShoppingMall,代码行数:7,代码来源:ReleasedSellFragment.java
示例11: oldPassword
import org.androidannotations.annotations.TextChange; //导入依赖的package包/类
@TextChange
void oldPassword(CharSequence newText, int start, int before, int count) {
oldPasswordValid = count > 0;
validate(oldPassword);
}
开发者ID:alexdzeshko,项目名称:secure_photo,代码行数:7,代码来源:ChangePasswordFragment.java
示例12: newPassword
import org.androidannotations.annotations.TextChange; //导入依赖的package包/类
@TextChange
void newPassword(CharSequence newText, int start, int before, int count) {
newPasswordValid = count > 0;
validate(newPassword);
}
开发者ID:alexdzeshko,项目名称:secure_photo,代码行数:7,代码来源:ChangePasswordFragment.java
示例13: confirmNewPassword
import org.androidannotations.annotations.TextChange; //导入依赖的package包/类
@TextChange
void confirmNewPassword(CharSequence newText, int start, int before, int count) {
confirmNewPasswordValid = count > 0;
validate(confirmNewPassword);
}
开发者ID:alexdzeshko,项目名称:secure_photo,代码行数:7,代码来源:ChangePasswordFragment.java
示例14: onUrlChanged
import org.androidannotations.annotations.TextChange; //导入依赖的package包/类
@TextChange(R.id.url)
protected void onUrlChanged() {
urlEditText.setError(null);
}
开发者ID:yDelouis,项目名称:selfoss-android,代码行数:5,代码来源:ConfigUrlView.java
注:本文中的org.androidannotations.annotations.TextChange类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论