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
        }
 /// <summary>
 /// Конвертировать ошибки в трансферную модель
 /// </summary>
 private static ErrorCommonResponse ToErrorCommon(ErrorComponent errorComponent) =>
 new ErrorCommonResponse(errorComponent.ErrorConvertingType, errorComponent.Description);