You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AvatarView is very useful, but I don't understand why AvatarView.ImageSource is not [AllowNull].
With the current specification, in order to display AvatarView.Text, I have to set AvatarView.ImageSource = null;. However, an NRT warning appears, so I am disabling the warning by using null!.
Am I possibly using it incorrectly? If my usage is correct, there might be a need to change it so that AvatarView.ImageSource = null; does not produce an NRT warning.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
AvatarView is very useful, but I don't understand why
AvatarView.ImageSource
is not[AllowNull]
.With the current specification, in order to display
AvatarView.Text
, I have to setAvatarView.ImageSource = null;
. However, an NRT warning appears, so I am disabling the warning by usingnull!
.Am I possibly using it incorrectly? If my usage is correct, there might be a need to change it so that
AvatarView.ImageSource = null;
does not produce an NRT warning.Beta Was this translation helpful? Give feedback.
All reactions