修复 [通讯录搜索问题]
This commit is contained in:
parent
26af3fbbdd
commit
35e0d3dc3e
@ -84,9 +84,14 @@ public class MsgAddressBookActivity extends AbsActivity {
|
||||
String key = editable.toString();
|
||||
MyAddressBookFragment fragment = fragmentList.get(mViewPager.getCurrentItem());
|
||||
if (StringUtil.isEmpty(key)) {
|
||||
mIndicator.setVisibility(View.VISIBLE);
|
||||
fragment.reload();
|
||||
mViewPager.setUserInputEnabled(true);
|
||||
mIndicator.setVisibility(View.VISIBLE);
|
||||
mViewPager.postDelayed(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
fragment.reload();
|
||||
}
|
||||
}, 100);
|
||||
} else {
|
||||
mIndicator.setVisibility(View.GONE);
|
||||
search(key);
|
||||
|
Loading…
Reference in New Issue
Block a user