|
|
@@ -917,6 +917,10 @@ public class DataFormDetailActivity extends BaseActivity implements View.OnClick
|
|
|
protected void onResume() {
|
|
|
super.onResume();
|
|
|
click_btn.setEnabled(true);
|
|
|
+ View currentFocus = ((Activity) mContext).getCurrentFocus();
|
|
|
+ if (currentFocus != null) {
|
|
|
+ currentFocus.clearFocus();
|
|
|
+ }
|
|
|
if (mAdapter != null) {
|
|
|
mAdapter.notifyDataSetChanged();
|
|
|
}
|
|
|
@@ -1097,11 +1101,6 @@ public class DataFormDetailActivity extends BaseActivity implements View.OnClick
|
|
|
|
|
|
@Override
|
|
|
public View getView(final int position, View convertView, ViewGroup parent) {
|
|
|
- View currentFocus = ((Activity) mContext).getCurrentFocus();
|
|
|
- if (currentFocus != null) {
|
|
|
- currentFocus.clearFocus();
|
|
|
- }
|
|
|
-
|
|
|
final int itemViewType = getItemViewType(position);
|
|
|
switch (itemViewType) {
|
|
|
case TYPE_CATEGORY_ITEM:
|