use of com.mxt.anitrend.presenter.base.BasePresenter in project anitrend-app by AniTrend.
the class SearchActivity 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 CharacterActivity 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);
if (getIntent().hasExtra(KeyUtil.arg_id))
id = getIntent().getLongExtra(KeyUtil.arg_id, -1);
}
use of com.mxt.anitrend.presenter.base.BasePresenter in project anitrend-app by AniTrend.
the class CommentActivity method onPostCreate.
@Override
protected void onPostCreate(@Nullable Bundle savedInstanceState) {
super.onPostCreate(savedInstanceState);
setPresenter(new BasePresenter(this));
onActivityReady();
}
use of com.mxt.anitrend.presenter.base.BasePresenter in project anitrend-app by AniTrend.
the class NotificationActivity method onPostCreate.
@Override
protected void onPostCreate(@Nullable Bundle savedInstanceState) {
super.onPostCreate(savedInstanceState);
setPresenter(new BasePresenter(this));
onActivityReady();
}
use of com.mxt.anitrend.presenter.base.BasePresenter in project anitrend-app by AniTrend.
the class StaffActivity 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);
id = getIntent().getLongExtra(KeyUtil.arg_id, -1);
}
Aggregations