UI 微调
This commit is contained in:
@ -216,7 +216,7 @@ class DescAdapter(context: Context,
|
||||
viewHolder.binding.update = update
|
||||
|
||||
if (viewHolder.binding.expandRl.visibility == View.VISIBLE) {
|
||||
viewHolder.binding.updateTv.post {
|
||||
viewHolder.binding.updateTv.postDelayed({
|
||||
val layout = viewHolder.binding.updateTv.layout
|
||||
if (layout != null) {
|
||||
val lines = layout.lineCount
|
||||
@ -233,7 +233,7 @@ class DescAdapter(context: Context,
|
||||
mIsUpdateInfoFirstTimeLayout = false
|
||||
}
|
||||
}
|
||||
}
|
||||
}, 100)
|
||||
}
|
||||
|
||||
viewHolder.binding.expandRl.setOnClickListener {
|
||||
|
||||
@ -174,6 +174,7 @@ public class UserInfoEditFragment extends NormalFragment {
|
||||
String contact = mUserInfoEntity.getContact();
|
||||
if (!TextUtils.isEmpty(contact)) {
|
||||
mUserinfoContactEt.setText(contact);
|
||||
mUserinfoContactEt.setSelection(mUserinfoContactEt.getText().toString().trim().length());
|
||||
}
|
||||
break;
|
||||
case UserViewModel.TYPE_ID_CARD:
|
||||
@ -198,7 +199,7 @@ public class UserInfoEditFragment extends NormalFragment {
|
||||
mUserInfoIntroduceEt.addTextChangedListener(new UserInfoEditTextWatcher(mUserInfoIntroduceEt));
|
||||
if (!TextUtils.isEmpty(introduce)) {
|
||||
mUserInfoIntroduceEt.setText(introduce);
|
||||
mUserInfoIntroduceEt.setSelection(mUserinfoNicknameEt.getText().toString().trim().length());
|
||||
mUserInfoIntroduceEt.setSelection(mUserInfoIntroduceEt.getText().toString().trim().length());
|
||||
}
|
||||
break;
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user