标签:undle inview main rac init layout xtend ted save
public class MainActivity extends BaseActivity<MainContract.IMainPresenter> implements MainContract.IMainView {
private TextView tv;
@Override
protected void initLayout(@Nullable Bundle savedInstanceState) {
setContentView(R.layout.activity_main);
}
@Override
protected void initViews() {
tv = $(R.id.tv);
}
@Override
protected void initData() {
getPresenter().handlerData();
}
@Override
protected MainContract.IMainPresenter setPresenter() {
return new MainPresenter();
}
---------------------
标签:undle inview main rac init layout xtend ted save
原文地址:https://www.cnblogs.com/hyhy904/p/11299065.html