|
|
@@ -93,20 +93,8 @@ public class PropEditClassifyFragment extends BaseFragment { |
|
|
|
DisplayManager.scaleViewGroup(viewBinding.getRoot()); |
|
|
|
initData(); |
|
|
|
initView(); |
|
|
|
initTopBar(); |
|
|
|
// EventBus.getDefault().register(this); |
|
|
|
} |
|
|
|
|
|
|
|
// @Override |
|
|
|
// protected void onCreate(@Nullable Bundle savedInstanceState) { |
|
|
|
// super.onCreate(savedInstanceState); |
|
|
|
// viewBinding = FragmentPropEditClassifyBinding.inflate(getLayoutInflater()); |
|
|
|
// setContentView(viewBinding.getRoot()); |
|
|
|
// DisplayManager.scaleViewGroup(viewBinding.getRoot()); |
|
|
|
// initData(); |
|
|
|
// initView(); |
|
|
|
// initTopBar(); |
|
|
|
// } |
|
|
|
|
|
|
|
private void initData(){ |
|
|
|
attributePosition = 0; |
|
|
@@ -673,29 +661,6 @@ public class PropEditClassifyFragment extends BaseFragment { |
|
|
|
subattributeAdapter.notifyDataSetChanged(); |
|
|
|
} |
|
|
|
|
|
|
|
private void initTopBar(){ |
|
|
|
// viewBinding.topbar.setTitle("编辑分类"); |
|
|
|
// viewBinding.back.setOnClickListener(v->{ |
|
|
|
// finishActivity(); |
|
|
|
// }); |
|
|
|
} |
|
|
|
|
|
|
|
// @Override |
|
|
|
// protected void doOnBackPressed() { |
|
|
|
// super.doOnBackPressed(); |
|
|
|
// finishActivity(); |
|
|
|
// } |
|
|
|
|
|
|
|
// private void finishActivity(){ |
|
|
|
// setResult(RESULT_OK, null); |
|
|
|
// EventBus.getDefault().post(new FreshLocalGoodsEvent()); |
|
|
|
// finish(); |
|
|
|
// } |
|
|
|
|
|
|
|
// @Override |
|
|
|
// protected String getClassName() { |
|
|
|
// return "编辑分类页"; |
|
|
|
// } |
|
|
|
@Override |
|
|
|
protected boolean canDragBack() { |
|
|
|
return false; |
|
|
|