private static ResultsComponentDto BuildResultsComponent(ResultsComponent model) { return(new ResultsComponentDto { DisciplineId = model.DisciplineId, FinalPointsCoeficient = model.FinalPointsCoeficient }); }
private void InitializeUiComponents(ViewGroup container) { var loadingComponent = new LoadingComponent(container); var resultsComponent = new ResultsComponent(container); var errorComponent = new ErrorComponent(container); _components = new List <UiComponent> { loadingComponent, resultsComponent, errorComponent }; // uiEvents should initiate the stream of usecases from a presenter // like mvi. not the scope of this sample }