标签:tac null ppc swa extends undle present you end
public abstract class BaseActivity<P extends IBasePresenter> extends AppCompatActivity implements IBaseView {
private P mPresenter;
protected abstract void initLayout(@Nullable Bundle savedInstanceState);
protected abstract P setPresenter();
protected abstract void initViews();
protected abstract void initData();
@SuppressWarnings("SameParameterValue")
protected <T extends View> T $(@IdRes int viewId) {
return findViewById(viewId);
}
---------------------
标签:tac null ppc swa extends undle present you end
原文地址:https://www.cnblogs.com/hyhy904/p/11299063.html