class NewsViewModel extends BaseViewModel {

	public void createNewsPagedList() {
		if (newsPagedListLiveData.getValue() == null){
			execute(
			disposable -> pagingDataStatus.postValue(DataStatus.LOADING),
			newsUIPagedList -> {
				newsPagedListLiveData.postValue(newsUIPagedList);
				pagingDataStatus.setValue(DataStatus.SUCCESS);
			},
			throwable -> pagingDataStatus.postValue(DataStatus.ERROR),
			newsUseCase.getNewsPagedList()
			);
		}
	}

	@Inject  NewsViewModel(@Named(value = IO_SCHEDULER) Scheduler subscribeOn, @Named(value = MAIN_THREAD_SCHEDULER) Scheduler observeOn, GetNewsUseCase<NewsUI> newsUsecase, PagingState pagingState);

}