@Override public void reInit() { initUserInfo(); unRemoveEt.setText(""); mListView.clearAll(); presenter.initCargoOrder(customerId); }
@Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_uncargo_order); initUserInfo(); unRemoveEt = (MaterialEditText) findViewById(R.id.load_et); unRemoveEt.setOnKeyListener(onKey); unRemoveBtn = (ButtonRectangle) findViewById(R.id.remove_btn); mListView = (MaterialListView) findViewById(R.id.material_listview); ((TextView) findViewById(R.id.tv_common_title)).setText(R.string.uncargo); Intent intent = getIntent(); customerId = intent.getStringExtra("customerId"); presenter = new UnCargoOrderPresenter(this); unRemoveBtn.setOnClickListener(new LoadButtonClick()); presenter.initCargoOrder(customerId); }