public void init(Content content)
{
this.content = content;
this.scrollView.ResetPosition();
this.contentPictureSprite.spriteName = content.Id + ".icon"; //itemSprite
this.contentPictureSprite.keepAspectRatio = UIWidget.AspectRatioSource.Free;
this.contentPictureSprite.MakePixelPerfect();
float ar = (float)this.contentPictureSprite.width / (float)this.contentPictureSprite.height;
this.contentPictureSprite.aspectRatio = ar;
this.contentPictureSprite.keepAspectRatio = UIWidget.AspectRatioSource.BasedOnWidth;
this.contentPictureSprite.leftAnchor.relative = 0f;
this.contentPictureSprite.leftAnchor.absolute = 0;
this.contentPictureSprite.rightAnchor.relative = 1f;
this.contentPictureSprite.rightAnchor.absolute = 0;
this.descriptionLabel.text = content.Description; // label1
this.scrollView.UpdatePosition();
this.characteristicsLabel.text = content.Characteristics; // label2
this.scrollView.UpdatePosition();
this.availabilityLabel.text = content.Availability; // label3
this.scrollView.UpdatePosition();
this.audienceLabel.text = content.Audience; // label4
this.scrollView.UpdatePosition();
/*this.scrollView.InvalidateBounds();
this.scrollView.ResetPosition();
this.scrollView.UpdatePosition();*/
}