use of com.mxt.anitrend.presenter.base.BasePresenter in project anitrend-app by AniTrend.
the class BrowseReviewFragment method onCreate.
/**
* Override and set presenter, mColumnSize, and fetch argument/s
*
* @param savedInstanceState
*/
@Override
public void onCreate(@Nullable Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
if (getArguments() != null)
mediaType = getArguments().getString(KeyUtil.arg_mediaType);
isPager = true;
mColumnSize = R.integer.single_list_x1;
setPresenter(new BasePresenter(getContext()));
setViewModel(true);
}
use of com.mxt.anitrend.presenter.base.BasePresenter in project anitrend-app by AniTrend.
the class NotificationFragment method onCreate.
/**
* Override and set presenter, mColumnSize, and fetch argument/s
*
* @param savedInstanceState
*/
@Override
public void onCreate(@Nullable Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
mColumnSize = R.integer.single_list_x1;
setInflateMenu(R.menu.shared_menu);
setPresenter(new BasePresenter(getContext()));
setViewModel(true);
}
use of com.mxt.anitrend.presenter.base.BasePresenter in project anitrend-app by AniTrend.
the class ReviewFragment method onCreate.
/**
* Override and set presenter, mColumnSize, and fetch argument/s
*
* @param savedInstanceState
*/
@Override
public void onCreate(@Nullable Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
if (getArguments() != null) {
mediaId = getArguments().getLong(KeyUtil.arg_id);
mediaType = getArguments().getString(KeyUtil.arg_mediaType);
}
mColumnSize = R.integer.single_list_x1;
isPager = true;
setPresenter(new BasePresenter(getContext()));
setViewModel(true);
}
use of com.mxt.anitrend.presenter.base.BasePresenter in project anitrend-app by AniTrend.
the class CharacterFavouriteFragment method onCreate.
@Override
public void onCreate(@Nullable Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
if (getArguments() != null)
userId = getArguments().getLong(KeyUtil.arg_id);
setPresenter(new BasePresenter(getContext()));
mColumnSize = R.integer.grid_giphy_x3;
isPager = true;
setViewModel(true);
}
use of com.mxt.anitrend.presenter.base.BasePresenter in project anitrend-app by AniTrend.
the class FavouriteActivity 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);
}
Aggregations