use of com.mxt.anitrend.presenter.base.BasePresenter in project anitrend-app by AniTrend.
the class FeedListFragment 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)
queryContainer = getArguments().getParcelable(KeyUtil.arg_graph_params);
isPager = true;
isFeed = 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 StaffSearchFragment 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)
searchQuery = getArguments().getString(KeyUtil.arg_search);
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 StudioSearchFragment 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)
searchQuery = getArguments().getString(KeyUtil.arg_search);
setPresenter(new BasePresenter(getContext()));
mColumnSize = R.integer.grid_list_x2;
isPager = true;
setViewModel(true);
}
use of com.mxt.anitrend.presenter.base.BasePresenter in project anitrend-app by AniTrend.
the class BottomSheetUsers method onCreate.
@Override
public void onCreate(@Nullable Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
presenter = new BasePresenter(getContext());
mColumnSize = getResources().getInteger(R.integer.single_list_x1);
}
use of com.mxt.anitrend.presenter.base.BasePresenter in project anitrend-app by AniTrend.
the class MediaFavouriteFragment method onCreate.
@Override
public void onCreate(@Nullable Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
if (getArguments() != null) {
userId = getArguments().getLong(KeyUtil.arg_id);
mediaType = getArguments().getString(KeyUtil.arg_mediaType);
}
setPresenter(new BasePresenter(getContext()));
mColumnSize = R.integer.grid_giphy_x3;
isPager = true;
setViewModel(true);
}
Aggregations