public void SetCurrentPriceImg(IImageViewTheme theme) { Application.SynchronizationContext.Post(_ => { _holder.ArrowImageView.SetTheme(theme); }, null); }
public void SetLogoImageViewTheme(IImageViewTheme theme) { (Context as Activity)?.RunOnUiThread(() => { _holder.LogoImageView.SetTheme(theme); }); }
public void SetFeatureImageTheme(IImageViewTheme themeName) { (Context as Activity)?.RunOnUiThread(() => { _holder.FeatureImageView.SetTheme(themeName); }); }
public void SetImageTheme(IImageViewTheme theme) { InvokeOnMainThread(() => { _backgroundView.SetTheme((IViewTheme)theme); }); }
public void SetAvatarTheme(IImageViewTheme theme) { InvokeOnMainThread(() => { _avatarImageView.SetTheme(theme); }); }
public void SetViewTheme(IImageViewTheme theme) { InvokeOnMainThread(() => { _rootView.SetTheme((IViewTheme)theme); }); }
public void SetLogoImageViewTheme(IImageViewTheme backgroundImage) { InvokeOnMainThread(() => { _logoImage.SetTheme(backgroundImage); }); }
public void SetStateOnline(IImageViewTheme theme) { InvokeOnMainThread(() => { _statusUserImageView.SetTheme(theme); }); }
public void SetLogoImageViewTheme(IImageViewTheme theme) { InvokeOnMainThread(() => { _logoImage.SetTheme(theme); }); }
public void SetCurrentPriceImg(IImageViewTheme theme) { InvokeOnMainThread(() => { _diffImageButton.SetTheme(theme); }); }
public void SetFeatureImageTheme(IImageViewTheme themeName) { InvokeOnMainThread(() => { _featureImage.SetTheme(themeName); }); }
public void SetDefaultAvatar(IImageViewTheme theme) { InvokeOnMainThread(() => { _avatarButton.SetTheme(theme); }); }
public void SetAvatarTheme(IImageViewTheme theme) { Application.SynchronizationContext.Post(_ => { _holder.AvatarImageView.SetTheme(theme); }, null); }
public void SetViewTheme(IImageViewTheme themeName) { (Context as Activity)?.RunOnUiThread(() => { _holder.BackgroundImageView.SetTheme(themeName); }); }
public void SetStateOnline(IImageViewTheme theme) { Application.SynchronizationContext.Post(_ => { _holder.StatusImageView.SetTheme(theme); }, null); }
public void SetRecommendBuySellImage(IImageViewTheme theme) { InvokeOnMainThread(() => { _buySellImageView.SetTheme(theme); _buySellView.SetTheme((IViewTheme)theme); }); }
public void SetRecommendBuySellImage(IImageViewTheme theme) { Application.SynchronizationContext.Post(_ => { _holder.BuySellImageView.SetTheme(theme); _holder.BuySellLayout.SetTheme((IViewTheme)theme); }, null); }
public static void SetTheme(this UIImageView imageView, IImageViewTheme theme) { SetTheme((UIView)imageView, (IViewTheme)theme); if (theme.Image != null) { imageView.Image = (UIImage)theme.Image; } }
public void SetImageTheme(IImageViewTheme theme) { _holder.OptionImageView.SetTheme(theme); GradientDrawable shape = new GradientDrawable(); shape.SetColor((Color)theme.BackgroundColor); shape.SetCornerRadius(1000); _holder.OptionImageView.Background = shape; }
public static void SetTheme(this ImageView imageView, IImageViewTheme theme) { SetTheme((View)imageView, (IViewTheme)theme); if (theme.Image != null) { imageView.SetImageDrawable((Drawable)theme.Image); } }
public static void SetTheme(this UIButton button, IImageViewTheme theme) { SetTheme((UIView)button, (IViewTheme)theme); SetTheme(button, (IButtonTheme)theme); if (theme.Image != null) { button.SetBackgroundImage((UIImage)theme.Image, UIControlState.Normal); } }
public RegEmailStylesHolderDroid(ThemeParser <T> themeParser) { HeaderLabelTheme = themeParser.GetThemeByName <ITextViewTheme>(_headerLabelTheme); EmailLabelTheme = themeParser.GetThemeByName <ITextViewTheme>(_emailLabelTheme); NextButtonTheme = themeParser.GetThemeByName <IButtonTheme>(_nextButtonTheme); BackButtonTheme = themeParser.GetThemeByName <IImageButtonTheme>(_backButtonTheme); ViewTheme = themeParser.GetThemeByName <IImageViewTheme>(_viewTheme); LogoImageViewTheme = themeParser.GetThemeByName <IImageViewTheme>(_logoImageViewTheme); EmailEditTextTheme = themeParser.GetThemeByName <IEditTextTheme>(_emailEditTextTheme); EmailStateSuccess = themeParser.GetThemeByName <IEditTextTheme>(_emailStateSuccess); EmailStateFail = themeParser.GetThemeByName <IEditTextTheme>(_emailStateFail); FeatureTextTheme = themeParser.GetThemeByName <ITextViewTheme>(_featureTextTheme); FeatureImageTheme = themeParser.GetThemeByName <IImageViewTheme>(_featureImageTheme); }
public RegNameStylesHolderIOS(ThemeParser <T> themeParser) { HeaderLabelTheme = themeParser.GetThemeByName <ITextViewTheme>(_headerLabelTheme); NameLabelTheme = themeParser.GetThemeByName <ITextViewTheme>(_nameLabelTheme); LastNameLabelTheme = themeParser.GetThemeByName <ITextViewTheme>(_lastNameLabelTheme); NextButtonTheme = themeParser.GetThemeByName <IButtonTheme>(_nextButtonTheme); BackButtonTheme = themeParser.GetThemeByName <IImageButtonTheme>(_backButtonTheme); ViewTheme = themeParser.GetThemeByName <IImageViewTheme>(_viewTheme); LogoImageViewTheme = themeParser.GetThemeByName <IImageViewTheme>(_logoImageViewTheme); NameEditTextTheme = themeParser.GetThemeByName <IEditTextTheme>(_nameEditTextTheme); NameStateSuccess = themeParser.GetThemeByName <IEditTextTheme>(_nameStateSuccess); NameStateFail = themeParser.GetThemeByName <IEditTextTheme>(_nameStateFail); LastNameEditTextTheme = themeParser.GetThemeByName <IEditTextTheme>(_lastNameEditTextTheme); LastNameStateSuccess = themeParser.GetThemeByName <IEditTextTheme>(_lastNameStateSuccess); LastNameStateFail = themeParser.GetThemeByName <IEditTextTheme>(_lastNameStateFail); FeatureTextTheme = themeParser.GetThemeByName <ITextViewTheme>(_featureTextTheme); FeatureImageTheme = themeParser.GetThemeByName <IImageViewTheme>(_featureImageTheme); }
public RegPhoneStylesHolderIOS(ThemeParser <T> themeParser) { HeaderLabelTheme = themeParser.GetThemeByName <ITextViewTheme>(_headerLabelTheme); PhoneCountryLabelTheme = themeParser.GetThemeByName <ITextViewTheme>(_phoneCountryLabelTheme); PhoneNumberLabelTheme = themeParser.GetThemeByName <ITextViewTheme>(_phoneNumberLabelTheme); NextButtonTheme = themeParser.GetThemeByName <IButtonTheme>(_nextButtonTheme); SkipButtonTheme = themeParser.GetThemeByName <IButtonTheme>(_skipButtonTheme); BackButtonTheme = themeParser.GetThemeByName <IImageButtonTheme>(_backButtonTheme); ViewTheme = themeParser.GetThemeByName <IImageViewTheme>(_viewTheme); LogoImageViewTheme = themeParser.GetThemeByName <IImageViewTheme>(_logoImageViewTheme); PhoneCountryEditTextTheme = themeParser.GetThemeByName <IEditTextTheme>(_phoneCountryEditTextTheme); PhoneCountryStateSuccess = themeParser.GetThemeByName <IEditTextTheme>(_phoneCountryStateSuccess); PhoneCountryStateFail = themeParser.GetThemeByName <IEditTextTheme>(_phoneCountryStateFail); PhoneNumberEditTextTheme = themeParser.GetThemeByName <IEditTextTheme>(_phoneNumberEditTextTheme); PhoneNumberStateSuccess = themeParser.GetThemeByName <IEditTextTheme>(_phoneNumberStateSuccess); PhoneNumberStateFail = themeParser.GetThemeByName <IEditTextTheme>(_phoneNumberStateFail); FeatureTextTheme = themeParser.GetThemeByName <ITextViewTheme>(_featureTextTheme); FeatureImageTheme = themeParser.GetThemeByName <IImageViewTheme>(_featureImageTheme); }
public RegPassStylesHolderDroid(ThemeParser <T> themeParser) { HeaderLabelTheme = themeParser.GetThemeByName <ITextViewTheme>(_headerLabelTheme); PasswordLabelTheme = themeParser.GetThemeByName <ITextViewTheme>(_passwordLabelTheme); ConfirmPasswordLabelTheme = themeParser.GetThemeByName <ITextViewTheme>(_confirmPasswordLabelTheme); RegButtonTheme = themeParser.GetThemeByName <IButtonTheme>(_regButtonTheme); BackButtonTheme = themeParser.GetThemeByName <IImageButtonTheme>(_backButtonTheme); ViewTheme = themeParser.GetThemeByName <IImageViewTheme>(_viewTheme); LogoImageViewTheme = themeParser.GetThemeByName <IImageViewTheme>(_logoImageViewTheme); PasswordEditTextTheme = themeParser.GetThemeByName <IEditTextTheme>(_passwordEditTextTheme); PasswordStateSuccess = themeParser.GetThemeByName <IEditTextTheme>(_passwordStateSuccess); PasswordStateFail = themeParser.GetThemeByName <IEditTextTheme>(_passwordStateFail); PasswordConfirmEditTextTheme = themeParser.GetThemeByName <IEditTextTheme>(_passwordConfirmEditTextTheme); PasswordConfirmStateSuccess = themeParser.GetThemeByName <IEditTextTheme>(_passwordConfirmStateSuccess); PasswordConfirmStatePassNotMatch = themeParser.GetThemeByName <IEditTextTheme>(_passwordConfirmStatePassNotMatch); PasswordConfirmStateFail = themeParser.GetThemeByName <IEditTextTheme>(_passwordConfirmStateFail); UserAgreementMainTextTheme = themeParser.GetThemeByName <IButtonTheme>(_userAgreementMainTextTheme); UserAgreementAttrTextTheme = themeParser.GetThemeByName <IButtonTheme>(_userAgreementAttrTextTheme); FeatureTextTheme = themeParser.GetThemeByName <ITextViewTheme>(_featureTextTheme); FeatureImageTheme = themeParser.GetThemeByName <IImageViewTheme>(_featureImageTheme); }
public void SetFeatureImageTheme(IImageViewTheme themeName) { _featureImage.SetTheme(themeName); }
public void SetLogoImageViewTheme(IImageViewTheme themeName) { _logoImage.SetTheme(themeName); }
public void SetViewTheme(IImageViewTheme themeName) { _rootView.SetTheme((IViewTheme)themeName); }
public void SetRecommendBuySellImage(IImageViewTheme theme) { }
public void SetCurrentPriceImg(IImageViewTheme theme) { }