use of com.mxt.anitrend.presenter.base.BasePresenter in project anitrend-app by AniTrend.
the class MediaBrowseActivity method onCreate.
@Override
protected void onCreate(@Nullable Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_frame_generic);
ButterKnife.bind(this);
setSupportActionBar(toolbar);
setViewModel(true);
setPresenter(new BasePresenter(this));
}
use of com.mxt.anitrend.presenter.base.BasePresenter in project anitrend-app by AniTrend.
the class MediaListActivity method onCreate.
@Override
protected void onCreate(@Nullable Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_pager_generic);
setPresenter(new BasePresenter(this));
ButterKnife.bind(this);
setSupportActionBar(toolbar);
setViewModel(true);
}
use of com.mxt.anitrend.presenter.base.BasePresenter in project anitrend-app by AniTrend.
the class MessageActivity method onCreate.
@Override
protected void onCreate(@Nullable Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_pager_generic);
ButterKnife.bind(this);
setSupportActionBar(toolbar);
setPresenter(new BasePresenter(this));
setViewModel(true);
}
use of com.mxt.anitrend.presenter.base.BasePresenter in project anitrend-app by AniTrend.
the class ProfileActivity method onCreate.
@Override
protected void onCreate(@Nullable Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
binding = DataBindingUtil.setContentView(this, R.layout.activity_profile);
setPresenter(new BasePresenter(getApplicationContext()));
ButterKnife.bind(this);
setSupportActionBar(toolbar);
disableToolbarTitle();
setViewModel(true);
if (getIntent().hasExtra(KeyUtil.arg_id))
id = getIntent().getLongExtra(KeyUtil.arg_id, -1);
else if (getIntent().hasExtra(KeyUtil.arg_userName))
userName = getIntent().getStringExtra(KeyUtil.arg_userName);
}
use of com.mxt.anitrend.presenter.base.BasePresenter in project anitrend-app by AniTrend.
the class StudioActivity method onCreate.
@Override
protected void onCreate(@Nullable Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_frame_generic);
ButterKnife.bind(this);
setSupportActionBar(toolbar);
setViewModel(true);
setPresenter(new BasePresenter(this));
if (getIntent().hasExtra(KeyUtil.arg_id))
id = getIntent().getLongExtra(KeyUtil.arg_id, -1);
}
Aggregations